From 4354884fdd449d2b6905ad7588890cd5ebad3e3b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 10 Apr 2018 12:34:55 -0500 Subject: [PATCH] Issue #2383. Use a staging-specific log file. --- config/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/__init__.py b/config/__init__.py index b7eb3b276..623ed1053 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -115,6 +115,8 @@ def convert_milestones(milestones_content): # 2015-09-14 20:50:19,185 INFO: Thing_To_Log [in /codepath/views.py:127] LOG_FILE = '/tmp/webcompat.log' +if STAGING: + LOG_FILE = '/tmp/staging-webcompat.log' LOG_FMT = '%(asctime)s tracking %(message)s' CSP_REPORTS_LOG = '/tmp/webcompat-csp-reports.log'