Created
October 13, 2011 19:16
-
-
Save andymckay/1285217 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOGGING = { | |
'loggers': { | |
'django.pylibmc': { | |
'level': 'DEBUG', | |
'handlers': ['console'], | |
}, | |
}, | |
} | |
... | |
import logging | |
log = logging.getLogger('django.pylibmc') | |
log.debug('foo! *****') | |
12:15:48 django.pylibmc:DEBUG foo! ***** :/Users/andy/sandboxes/zamboni/apps/amo/middleware.py:31 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment