aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py
index ee7ab6d8..91ef7d10 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -118,10 +118,16 @@ class _Bot(EnvConfig):
Bot = _Bot()
-class Logging(NamedTuple):
- debug = Client.debug
- file_logs = environ.get("FILE_LOGS", "false").lower() == "true"
- trace_loggers = environ.get("BOT_TRACE_LOGGERS")
+
+class _Logging(EnvConfig):
+ EnvConfig.Config.env_prefix = "logging_"
+
+ debug = Bot.debug
+ file_logs = False
+ trace_loggers = ""
+
+
+Logging = _Logging()
class Colours: