Skip to content

Commit 3249f80

Browse files
authored
feat: add stream handler to logging (#194)
1 parent d9572ca commit 3249f80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

etuutt_bot/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ async def main():
3838
# Create an instance of the Discord Bot
3939
bot = EtuUTTBot()
4040

41-
# Setup the logging
41+
# Setup the logging (stream handler and file handler)
42+
setup_logging()
4243
Path("data", "logs").mkdir(exist_ok=True)
4344
handler = handlers.RotatingFileHandler(
4445
filename=Path("data", "logs", "log"),

0 commit comments

Comments
 (0)