When running with DEBUG=0 this isn't a problem, but with DEBUG=1, these py-cord loggers produce a LOT of output. We're not really interested in seeing this and it mostly just clutters our actually useful internal debug logs. This therefore explicitly drops the log level on these loggers to INFO or even WARNING.
Note:
Another option would be to suppress all discord loggers completely, at least down to INFO, rather than focusing on the very spammy ones. I'm not sure this is a good idea, since some of the logs are pretty nice to see, like the discord.client ones, producing a log whenever an event occurs.
When running with
DEBUG=0
this isn't a problem, but withDEBUG=1
, these py-cord loggers produce a LOT of output. We're not really interested in seeing this and it mostly just clutters our actually useful internal debug logs. This therefore explicitly drops the log level on these loggers to INFO or even WARNING.Note: Another option would be to suppress all
discord
loggers completely, at least down to INFO, rather than focusing on the very spammy ones. I'm not sure this is a good idea, since some of the logs are pretty nice to see, like thediscord.client
ones, producing a log whenever an event occurs.