Skip to content

Commit

Permalink
Issue #2383. Use a staging-specific log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
miketaylr committed Apr 10, 2018
1 parent d3c36d6 commit 4354884
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 4354884

Please sign in to comment.