BugFix: No valid target for appLoggingConfigure

This commit is contained in:
Dirk Alders 2021-01-30 23:12:38 +01:00
parent 25889f225b
commit 139f0bd0c2

View File

@ -187,9 +187,9 @@ def appLoggingConfigure(basepath, target, log_name_lvl=[], fmt=SHORT_FMT, ring_l
'backupCount': 7
})
else:
handler = dict(my_handler={
handler = dict(main={
'level': 'DEBUG',
'formatter': 'my_format',
'formatter': 'json',
'class': 'logging.NullHandler',
})
if host is not None and port is not None: