From 8f306a748484b5151098cb233260a22fd0c42045 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 19 Oct 2011 15:04:14 +0200 Subject: [PATCH] /__debug/__cdist_debug/ Signed-off-by: Steven Armstrong --- lib/cdist/emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/emulator.py b/lib/cdist/emulator.py index 7e7e12b4..4880c6e6 100644 --- a/lib/cdist/emulator.py +++ b/lib/cdist/emulator.py @@ -82,7 +82,7 @@ class Emulator(object): logformat = '%(levelname)s: %(message)s' logging.basicConfig(format=logformat) - if '__debug' in os.environ: + if '__cdist_debug' in os.environ: logging.root.setLevel(logging.DEBUG) else: logging.root.setLevel(logging.INFO)