From a3239f592d5738801a4d8b6a0489fd564f816c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Zapke-Gru=CC=88ndemann?= Date: Sun, 1 Jan 2012 18:59:36 +0100 Subject: Added logging for development. --- conf/dev_settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/dev_settings.py b/conf/dev_settings.py index d5cefb7..1198968 100644 --- a/conf/dev_settings.py +++ b/conf/dev_settings.py @@ -1,6 +1,6 @@ import os -from settings import SITE_ROOT, INSTALLED_APPS, MIDDLEWARE_CLASSES +from settings import INSTALLED_APPS, LOGGING, MIDDLEWARE_CLASSES, SITE_ROOT DEBUG = True @@ -28,3 +28,10 @@ INTERNAL_IPS = ('127.0.0.1') DEBUG_TOOLBAR_CONFIG = { 'INTERCEPT_REDIRECTS': False, } + +LOGGING['loggers'].update({ + '': { + 'handlers': ['debuglog'], + 'level': 'DEBUG' + } +}) -- cgit v1.2.1