We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9572ca commit 3249f80Copy full SHA for 3249f80
etuutt_bot/__main__.py
@@ -38,7 +38,8 @@ async def main():
38
# Create an instance of the Discord Bot
39
bot = EtuUTTBot()
40
41
- # Setup the logging
+ # Setup the logging (stream handler and file handler)
42
+ setup_logging()
43
Path("data", "logs").mkdir(exist_ok=True)
44
handler = handlers.RotatingFileHandler(
45
filename=Path("data", "logs", "log"),
0 commit comments