debug-follow

This commit is contained in:
2024-03-11 11:16:12 +03:00
parent 94be60304e
commit 20cc14adc6
5 changed files with 14 additions and 22 deletions

View File

@@ -69,3 +69,8 @@ def get_colorful_logger(name='main'):
root_logger = logging.getLogger()
root_logger.setLevel(logging.DEBUG)
root_logger.addHandler(stream)
ignore_logs = ['_trace', 'httpx', '_client', '_trace.atrace', 'aiohttp', '_client']
for lgr in ignore_logs:
loggr = logging.getLogger(lgr)
loggr.setLevel(logging.INFO)