Skip to content
Permalink
Browse files
Try to add logging
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 10, 2015
1 parent da53efc commit b72c0820f245cad5b9acaefa625f493cdbb37735
Showing with 24 additions and 1 deletion.
  1. +1 −1 README.rst
  2. +23 −0 nikolausers/settings.py
@@ -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.
@@ -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.