From: parmentelat Date: Wed, 16 May 2018 08:11:12 +0000 (+0200) Subject: tweak logging config : *do not* disable other loggers X-Git-Tag: plcapi-5.4-1~2 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=feebab7a02379c1e9f33ce4244428846b7fb503a tweak logging config : *do not* disable other loggers --- diff --git a/PLC/Logger.py b/PLC/Logger.py index ca85ac9..b1268ae 100644 --- a/PLC/Logger.py +++ b/PLC/Logger.py @@ -6,7 +6,8 @@ import logging.config plcapi_logging_config = { 'version' : 1, - 'disable_existing_loggers' : True, +# we may be imported by something else, like sfa, so do not do that: +# 'disable_existing_loggers' : True, 'formatters': { 'standard': { 'format': '%(asctime)s %(levelname)s %(filename)s:%(lineno)d %(message)s',