From 178c72404d98cf0d075ed967fc19c4f92a6c5e93 Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 5 Dec 2024 08:25:54 +0100 Subject: [PATCH] Changed resolver method. --- src/mololog/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mololog/client.py b/src/mololog/client.py index 1f6f8ba..53da07c 100644 --- a/src/mololog/client.py +++ b/src/mololog/client.py @@ -62,9 +62,9 @@ class HTTPLogger(logging.Handler): def get_logger_names(): - root_logger = logging.getLogger() - for child in root_logger.getChildren(): - yield child.name + loggers = logging.Logger.manager.loggerDict + for name, _ in loggers.items(): + yield name http_logger = None