From 139f0bd0c29b8b44e235622f7fd8db7dc0037ec0 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 30 Jan 2021 23:12:38 +0100 Subject: [PATCH] BugFix: No valid target for appLoggingConfigure --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 88193ee..1fe369d 100644 --- a/__init__.py +++ b/__init__.py @@ -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: