aboutsummaryrefslogtreecommitdiffstats
path: root/bot/log.py (follow)
Commit message (Collapse)AuthorAgeLines
* Replace sentry experiment with standard version and add AsyncioIntegration ↵Gravatar wookie1842024-04-14-3/+3
| | | | (#1512)
* Remove the need for calling dotenv manually by using pydanticGravatar Chris Lovering2023-11-25-3/+3
|
* Use new logging util from bot-coreGravatar Chris Lovering2023-11-25-29/+32
|
* Clean Up Constants FileGravatar Hassan Abouelela2022-01-26-4/+4
| | | | | | | | | | | | | 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]>
* Disable File Logging By DefaultGravatar Hassan Abouelela2021-11-20-4/+1
| | | | | | Place logging to file behind an environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
* Disable File Logs In ProductionGravatar Hassan Abouelela2021-11-12-10/+13
| | | | | | | | | 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 trace loggersGravatar Numerlor2021-09-07-2/+31
| | | | Add selective enabling of trace loggers as described in python-discord/bot#1529
* Remove basicConfig configurationGravatar Numerlor2021-09-07-10/+10
| | | | | | | 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
* Add coloredlogsGravatar Numerlor2021-09-07-1/+17
|
* Control logging levels through root logger instead of handlersGravatar Numerlor2021-09-07-5/+1
| | | | | The difference in the logging levels without debug mode enabled was also removed
* Remove handler cleanupGravatar Numerlor2021-09-07-6/+0
| | | | This doesn't seem to do anything as no handlers are set up beforehand
* Move logging to a top level logs directory and update file nameGravatar Numerlor2021-09-07-4/+2
|
* Move logging to a separate moduleGravatar Numerlor2021-09-07-0/+63