Disable existing logging before loading logging configuration
issue10637 review358551002
This commit is contained in:
1 parent
9165f5d177
commit
7d5abe4816
1 file changed
+2
-1
@@ -127,7 +127,8 @@ def get_parser_stat():
|
||||
|
||||
def config_log(options):
|
||||
if options.logconf:
|
||||
logging.config.fileConfig(options.logconf)
|
||||
logging.config.fileConfig(
|
||||
options.logconf, disable_existing_loggers=False)
|
||||
logging.getLogger('server').info('using %s as logging '
|
||||
'configuration file', options.logconf)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user