From 75bfca1504634c601678af5ba7aa2a1205271970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guti=C3=A9rrez=20Hermosillo=20Muriedas=2C=20Juan=20Pedro?= Date: Thu, 21 Sep 2023 16:22:38 +0200 Subject: [PATCH] fix: less instrusive logging configuration --- perun/logging.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perun/logging.py b/perun/logging.py index 37d4818..d18c9a4 100644 --- a/perun/logging.py +++ b/perun/logging.py @@ -19,12 +19,13 @@ def init_logging(level: str) -> logging.Logger: """ logConfig = { "version": 1, - "root": {"handlers": ["console"], "level": level}, + "loggers": {"perun": {"level": level, "handlers": ["console"]}}, "handlers": { "console": { "formatter": "std_out", "class": "logging.StreamHandler", "level": "DEBUG", + "stream": "ext://sys.stdout", } }, "formatters": {