Skip to content

Commit

Permalink
Set default logging level to INFO, override in DEV
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed May 6, 2015
1 parent 375071c commit 0551cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ web:
- SECRET_KEY=asdf
- DJANGO_DEV=True
- DJANGO_DEBUG=True
- DJANGO_LOG_LEVEL=DEBUG
- DATABASE_URL=postgres://pontoon:asdf@db/pontoon
- SESSION_COOKIE_SECURE=False
- HMAC_KEY=asdf
Expand Down
2 changes: 1 addition & 1 deletion pontoon/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _allowed_hosts():
},
'pontoon': {
'handlers': ['console'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'DEBUG'),
'level': os.environ.get('DJANGO_LOG_LEVEL', 'INFO'),
},
'django_browserid': {
'handlers': ['console'],
Expand Down

0 comments on commit 0551cda

Please sign in to comment.