Skip to content

Commit

Permalink
mute logging info on http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed Dec 2, 2024
1 parent 265e303 commit 27d485b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __enter__(self: Self) -> Self:
logging.getLogger("discord.http").setLevel(logging.INFO)
logging.getLogger("discord.state").setLevel(logging.WARNING)
logging.getLogger("discord.gateway").setLevel(logging.WARNING)
logging.getLogger("starlette_plus.core").setLevel(logging.WARNING)

self.log.setLevel(logging.INFO)
handler = RotatingFileHandler(
Expand Down

0 comments on commit 27d485b

Please sign in to comment.