aboutsummaryrefslogtreecommitdiff
path: root/rpki
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2014-11-21 19:08:45 +0000
committerMichael Elkins <melkins@tislabs.com>2014-11-21 19:08:45 +0000
commit46c65bf29e2ecc2e6499c9cf951a104c64b83d6d (patch)
tree94b00516c2c0ac1f793d49ae1eb7c7267cac1b1d /rpki
parent44feb68865682e16e2a6c35b0fa4bfb150a06377 (diff)
re-enable propogate on the django and django.request loggers so they get logged by the root logger.
svn path=/trunk/; revision=6034
Diffstat (limited to 'rpki')
-rw-r--r--rpki/gui/default_settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpki/gui/default_settings.py b/rpki/gui/default_settings.py
index a9e3bc3f..2f1a08ed 100644
--- a/rpki/gui/default_settings.py
+++ b/rpki/gui/default_settings.py
@@ -46,6 +46,14 @@ LOGGING = {
# need to change this to WARNING once ticket is closed
'level': 'DEBUG',
},
+ # The Django default LOGGING configuration disables propagate on these
+ # two loggers. Re-enable propagate so they will hit our root logger.
+ 'django.request': {
+ 'propagate': True,
+ },
+ 'django.security': {
+ 'propagate': True,
+ },
},
'root': {
'level': 'WARNING',