| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
(#1512)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit moves the logging constants from the Client class to a new
Logging class.
Flake8 is renabled for constants, and the error it was disabled for was
specifically ignored. All new errors were fixed.
It also fixes a bug with __all__, which was trying to export a missing
symbol due to a missing comma.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Place logging to file behind an environment variable.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The most recent changes to our log setup had the loggers writing to a
read-only location in prod. This would cause an error during startup.
To get around this while keeping the change, I moved it to only be used
if debug is True.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Add selective enabling of trace loggers as described in python-discord/bot#1529
|
|
|
|
|
|
|
| |
The basicConfig now only controlled the file handler which
could've been confusing.
The format string was also changed to use the same style as bot
|
| |
|
|
|
|
|
| |
The difference in the logging levels without debug mode enabled was
also removed
|
|
|
|
| |
This doesn't seem to do anything as no handlers are set up beforehand
|
| |
|
|
|