This commit is contained in:
parent
3c50c4a2c5
commit
178c72404d
@ -62,9 +62,9 @@ class HTTPLogger(logging.Handler):
|
|||||||
|
|
||||||
|
|
||||||
def get_logger_names():
|
def get_logger_names():
|
||||||
root_logger = logging.getLogger()
|
loggers = logging.Logger.manager.loggerDict
|
||||||
for child in root_logger.getChildren():
|
for name, _ in loggers.items():
|
||||||
yield child.name
|
yield name
|
||||||
|
|
||||||
|
|
||||||
http_logger = None
|
http_logger = None
|
||||||
|
Loading…
Reference in New Issue
Block a user