This commit is contained in:
parent
3c50c4a2c5
commit
178c72404d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user