/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
dc3ed07153
commit
8f306a7484
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Emulator(object):
|
||||||
logformat = '%(levelname)s: %(message)s'
|
logformat = '%(levelname)s: %(message)s'
|
||||||
logging.basicConfig(format=logformat)
|
logging.basicConfig(format=logformat)
|
||||||
|
|
||||||
if '__debug' in os.environ:
|
if '__cdist_debug' in os.environ:
|
||||||
logging.root.setLevel(logging.DEBUG)
|
logging.root.setLevel(logging.DEBUG)
|
||||||
else:
|
else:
|
||||||
logging.root.setLevel(logging.INFO)
|
logging.root.setLevel(logging.INFO)
|
||||||
|
|
Loading…
Reference in a new issue