Skip to content

Commit

Permalink
Reduce logging level for discordpy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom-TC committed Nov 8, 2023
1 parent de9dc5f commit fd6d1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions botto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Configure logging
logging.config.fileConfig(fname="log.conf", disable_existing_loggers=False)
logging.getLogger("discord").setLevel(logging.CRITICAL)
logging.getLogger("discord").setLevel(logging.ERROR)
logging.getLogger("discord.gateway").setLevel(logging.INFO)
logging.getLogger("asyncio").setLevel(logging.CRITICAL)
logging.getLogger("urllib").setLevel(logging.CRITICAL)
logging.getLogger("urllib").setLevel(logging.CRITICAL)

0 comments on commit fd6d1ad

Please sign in to comment.