BugFix: No valid target for appLoggingConfigure
This commit is contained in:
parent
25889f225b
commit
139f0bd0c2
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user