From 813816f8e4f4da62c6fddb6ce16ba5a0b45bdeba Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 6 Jun 2018 21:02:26 +0100 Subject: Logging changes * Log to .json file in debug mode, with textual stdout * Log to .txt in production, with JSON stdout * No more Papertrail --- pysite/constants.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pysite/constants.py') 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() -- cgit v1.2.3