aboutsummaryrefslogtreecommitdiff
path: root/labbot/logger.py
diff options
context:
space:
mode:
Diffstat (limited to 'labbot/logger.py')
-rw-r--r--labbot/logger.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/labbot/logger.py b/labbot/logger.py
index ebe26c3..0acf78f 100644
--- a/labbot/logger.py
+++ b/labbot/logger.py
@@ -8,6 +8,9 @@ def init(level: int) -> None:
aiohttp_logger = logging.getLogger("aiohttp")
aiohttp_logger.setLevel(logging.WARNING)
+ asyncio_logger = logging.getLogger("asyncio")
+ asyncio_logger.setLevel(logging.WARNING)
+
formatter = logging.Formatter(
"[{asctime}] [{levelname}] {name}: {message}", datefmt="%Y-%m-%d %H:%M:%S", style="{"
)