diff options
Diffstat (limited to 'labbot')
-rw-r--r-- | labbot/bot.py | 2 | ||||
-rw-r--r-- | labbot/logger.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/labbot/bot.py b/labbot/bot.py index 9b5d70b..49ea71e 100644 --- a/labbot/bot.py +++ b/labbot/bot.py @@ -52,4 +52,4 @@ class Bot: def run(self, *args, **kwargs) -> None: log.info(f"Started {self.name}") - self.instance.run(*args, **kwargs)
\ No newline at end of file + self.instance.run(*args, print=False, **kwargs)
\ No newline at end of file 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="{" ) |