diff --git a/chiya/bot.py b/chiya/bot.py index fd27c54e..1bd0d4e2 100644 --- a/chiya/bot.py +++ b/chiya/bot.py @@ -66,7 +66,7 @@ def emit(self, record: logging.LogRecord) -> None: discord.utils.setup_logging(handler=InterceptHandler(),level=logging.getLevelName(config["bot"]["log_level"]), root=False) fmt = "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {name} | {message}" - log.add(sys.stdout, format=fmt, level=log_level) + log.add(sys.stdout, format=fmt, level=log_level, backtrace=False) log.add(os.path.join("logs", "bot.log"), format=fmt, rotation="1 day")