Skip to content

Commit

Permalink
Merge pull request #334 from being24/develop
Browse files Browse the repository at this point in the history
Change log level to INFO in bot.py
  • Loading branch information
being24 authored Feb 2, 2024
2 parents c3bf995 + 44611d9 commit 15d9c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ async def on_ready(self):
raise FileNotFoundError("Token not found error!")

logger = logging.getLogger("discord")
logger.setLevel(logging.WARNING)
logging.getLogger("discord.http").setLevel(logging.WARNING)
logger.setLevel(logging.INFO) # Change log level to INFO
logging.getLogger("discord.http").setLevel(logging.INFO) # Change log level to INFO

handler = logging.handlers.RotatingFileHandler(
filename=logfile_path,
Expand Down

0 comments on commit 15d9c3b

Please sign in to comment.