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