Fixed #14397 -- Corrected some typos in the logging configuration example. Thanks to hunterford for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-10-06 14:57:31 +00:00
parent 63d960ca25
commit 57aeb54279
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
}, },
'mail_admins': { 'mail_admins': {
'level': 'ERROR', 'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler' 'class': 'django.utils.log.AdminEmailHandler',
'filters': ['special'] 'filters': ['special']
} }
}, },
@ -282,7 +282,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
'propagate': False, 'propagate': False,
}, },
'myproject.custom': { 'myproject.custom': {
'handlers: ['console', 'mail_admins'], 'handlers': ['console', 'mail_admins'],
'level': 'INFO', 'level': 'INFO',
'filters': ['special'] 'filters': ['special']
} }