aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-09-07 00:32:12 +0200
committerGravatar Numerlor <[email protected]>2021-09-07 16:58:35 +0200
commitecfe6bc1b89632c1161f5aad83a08a8459f8f13a (patch)
tree809dfe31afb8fbaa8a9db86da2393da597eaa9bc /bot/constants.py
parentRemove basicConfig configuration (diff)
Add selective trace loggers
Add selective enabling of trace loggers as described in python-discord/bot#1529
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 2313bfdb..ae6e02c1 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -138,6 +138,7 @@ class Client(NamedTuple):
github_bot_repo = "https://github.com/python-discord/sir-lancebot"
# Override seasonal locks: 1 (January) to 12 (December)
month_override = int(environ["MONTH_OVERRIDE"]) if "MONTH_OVERRIDE" in environ else None
+ trace_loggers = environ.get("BOT_TRACE_LOGGERS")
class Colours: