aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/constants.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-06 21:02:26 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-06 21:02:26 +0100
commit813816f8e4f4da62c6fddb6ce16ba5a0b45bdeba (patch)
tree3bf1feda9ec847c18d88c377b5e0dbdb85aba8c9 /pysite/constants.py
parent[CI] Tag builds with "docker" (diff)
Logging changes
* Log to .json file in debug mode, with textual stdout * Log to .txt in production, with JSON stdout * No more Papertrail
Diffstat (limited to '')
-rw-r--r--pysite/constants.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pysite/constants.py b/pysite/constants.py
index 806a6430..3177fe59 100644
--- a/pysite/constants.py
+++ b/pysite/constants.py
@@ -98,14 +98,6 @@ JAM_QUESTION_TYPES = [
"slider"
]
-# PaperTrail logging
-PAPERTRAIL_ADDRESS = environ.get("PAPERTRAIL_ADDRESS") or None
-PAPERTRAIL_PORT = int(environ.get("PAPERTRAIL_PORT") or 0)
-
-# DataDog logging
-DATADOG_ADDRESS = environ.get("DATADOG_ADDRESS") or None
-DATADOG_PORT = int(environ.get("DATADOG_PORT") or 0)
-
# CSRF
CSRF = CSRFProtect()