aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/__init__.py2
-rw-r--r--bot/constants.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index f17404572..c8220a6b3 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -18,7 +18,7 @@ if PAPERTRAIL_ADDRESS:
logging_handlers.append(StreamHandler(stream=sys.stderr))
logging.basicConfig(
- format="%(asctime)s pd.beardfist.com Bot: | %(name)15s | %(levelname)8s | %(message)s",
+ format="%(asctime)s pd.beardfist.com Bot: | %(name)30s | %(levelname)8s | %(message)s",
datefmt="%b %d %H:%M:%S",
level=logging.INFO,
handlers=logging_handlers
diff --git a/bot/constants.py b/bot/constants.py
index 9878eb716..b6e89a31a 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -50,5 +50,5 @@ RED_CHEVRON = "<:redchevron:418112778184818698>"
WHITE_CHEVRON = "<:whitechevron:418110396973711363>"
# PaperTrail logging
-PAPERTRAIL_ADDRESS = os.environ.get("PAPERTRAIL_ADDRESS")
-PAPERTRAIL_PORT = int(os.environ.get("PAPERTRAIL_PORT", 0))
+PAPERTRAIL_ADDRESS = os.environ.get("PAPERTRAIL_ADDRESS") or None
+PAPERTRAIL_PORT = int(os.environ.get("PAPERTRAIL_PORT") or 0)