Disable existing logging before loading logging configuration

issue10637
review358551002
This commit is contained in:
Jonathan Levy committed 2021-10-27 22:22:44 +02:00
1 parent 9165f5d177
commit 7d5abe4816
1 file changed
+2 -1
+2 -1
View File
@@ -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: