Issue an INFO log entry after configuring logging

Also: reformat with spaces instead of tabs.
This commit is contained in:
Piotr F. Mieszkowski 2023-11-12 19:57:12 +01:00
parent 9bbc86bc53
commit 6ca5db2db3
1 changed files with 30 additions and 29 deletions

View File

@ -43,6 +43,7 @@ EX_CONFIG = 78
def init_logging(config_filename):
if config_filename is not None:
logging.config.fileConfig(config_filename)
logging.info('Configured from %s', config_filename)
else:
logging.config.dictConfig(FAIL_OVER_LOGGING_CONFIG)
logging.warning('Lacre logging configuration missing, using syslog as default')