Skip to content

Commit

Permalink
#245 Adding logging config information
Browse files Browse the repository at this point in the history
  • Loading branch information
karlcow authored and Mike Taylor committed Oct 1, 2015
1 parent 80b15bd commit 799fe1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ DEBUG = False
if not PRODUCTION:
DEBUG = True

# Logging Capabilities
# To benefit from the logging, you may want to add:
# app.logger.info(Thing_To_Log)
# it will create a line with the following format
# 2015-09-14 20:50:19,185 INFO: Thing_To_Log [in /codepath/views.py:127]
LOG_FILE = '/tmp/webcompat.log'
LOG_FMT = '%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]'

# Get the secrets from [1] if you're part of the webcompat organization.
# Otherwise, create your own test and production applications.
#
Expand Down

0 comments on commit 799fe1b

Please sign in to comment.