aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index 43356efca..d65aac752 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -53,7 +53,7 @@ else:
logging.basicConfig(
format="%(asctime)s pd.beardfist.com Bot: | %(name)30s | %(levelname)8s | %(message)s",
datefmt="%b %d %H:%M:%S",
- level=logging.TRACE,
+ level=logging.TRACE if DEBUG_MODE else logging.info,
handlers=logging_handlers
)