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

Commit

Permalink
strength through syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Jan 24, 2011
1 parent 7a7ece7 commit 6367bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_settings.py
Expand Up @@ -79,7 +79,7 @@ def emit(self, record):
USE_SYSLOG = settings.HAS_SYSLOG and not settings.DEBUG

if USE_SYSLOG:
cfg['loggers']['z.timer']['handlers'] = ['syslog2']
cfg['loggers']['z.timer'] = {'handlers': ['syslog2']}

# Set the level and handlers for all loggers.
for logger in cfg['loggers'].values() + [cfg['root']]:
Expand Down

0 comments on commit 6367bf9

Please sign in to comment.