|
@@ -34,8 +34,8 @@ if 'logfile' in config and config['logfile']:
|
|
fhlog.setFormatter( formatter )
|
|
fhlog.setFormatter( formatter )
|
|
fhlog.setLevel( level )
|
|
fhlog.setLevel( level )
|
|
root.addHandler(fhlog)
|
|
root.addHandler(fhlog)
|
|
- root.setLevel(level)
|
|
|
|
|
|
|
|
|
|
+root.setLevel(level)
|
|
# with open('logging.config', 'r') as fp:
|
|
# with open('logging.config', 'r') as fp:
|
|
# LOGGING_CONFIG = yaml.safe_load(fp)
|
|
# LOGGING_CONFIG = yaml.safe_load(fp)
|
|
|
|
|