Browse Source

BugFix: No valid target for appLoggingConfigure

master
Dirk Alders 3 years ago
parent
commit
139f0bd0c2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      __init__.py

+ 2
- 2
__init__.py View File

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

Loading…
Cancel
Save