Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
Log celeryutils errors from the z logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Dec 31, 2012
1 parent 0439c2d commit 01f6f88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webpay/settings/base.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@
# See settings/local.py for SYSLOG_TAG, etc # See settings/local.py for SYSLOG_TAG, etc
LOGGING = dict(loggers=dict(playdoh={'level': logging.DEBUG}, LOGGING = dict(loggers=dict(playdoh={'level': logging.DEBUG},
django_browserid={'level': logging.DEBUG}, django_browserid={'level': logging.DEBUG},
# This gives us "zamboni" logging such as the
# celeryutils logger.
z={'level': logging.ERROR},
# This gives us webpay logging.
w={'level': logging.DEBUG}), w={'level': logging.DEBUG}),
handlers={'unicode': {'class': handlers={'unicode': {'class':
'webpay.unicode_log.UnicodeHandler'}}) 'webpay.unicode_log.UnicodeHandler'}})
Expand Down

0 comments on commit 01f6f88

Please sign in to comment.