diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-05 19:15:09 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-02-05 19:15:09 -0500 |
commit | b6cce3357041aa7dfbb59ae12355f7c3ed69f687 (patch) | |
tree | 72759b1353e97ba00d9171e864d245c4bfcfb993 /settings_local.py.dist | |
parent | 955f0853655cd499a12f69ca35768802ddbbac38 (diff) | |
download | askbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.tar.gz askbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.tar.bz2 askbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.zip |
added logging messages to django_authopenid library for debugging, \
also fixed up format of logging output and added HOW_TO_DEBUG file
Diffstat (limited to 'settings_local.py.dist')
-rwxr-xr-x | settings_local.py.dist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist index 7fbc0729..0ef11eca 100755 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -15,6 +15,11 @@ LOG_FILENAME = 'django.osqa.log' #for logging import logging logging.basicConfig(filename=os.path.join(SITE_SRC_ROOT, 'log', LOG_FILENAME), level=logging.DEBUG,) +logging.basicConfig( + filename=os.path.join(SITE_SRC_ROOT, 'log', LOG_FILENAME), + level=logging.DEBUG, + format='%(pathname)s TIME: %(asctime)s MSG: %(filename)s:%(funcName)s:%(lineno)d %(message)s', +) #ADMINS and MANAGERS ADMINS = (('Forum Admin', 'forum@example.com'),) |