Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try to add logging
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 10, 2015
1 parent da53efc commit b72c082
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
@@ -1,5 +1,5 @@
===============================
Some Sites Using Nikola, v3.0.0
Some Sites Using Nikola, v3.0.1
===============================

A very fancy Django app to manage the Some Sites Using Nikola site.
Expand Down
23 changes: 23 additions & 0 deletions nikolausers/settings.py
Expand Up @@ -112,3 +112,26 @@
# https://docs.djangoproject.com/en/1.8/howto/static-files/

STATIC_URL = '/static/'

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'django.request': {
'handlers': ['console'],
'level': 'DEBUG',
'propagate': True,
},
'django': {
'handlers': ['console'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
'propagate': True,
},
},
}

0 comments on commit b72c082

Please sign in to comment.