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:
parent
63d960ca25
commit
57aeb54279
|
@ -266,7 +266,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
|
|||
},
|
||||
'mail_admins': {
|
||||
'level': 'ERROR',
|
||||
'class': 'django.utils.log.AdminEmailHandler'
|
||||
'class': 'django.utils.log.AdminEmailHandler',
|
||||
'filters': ['special']
|
||||
}
|
||||
},
|
||||
|
@ -282,7 +282,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
|
|||
'propagate': False,
|
||||
},
|
||||
'myproject.custom': {
|
||||
'handlers: ['console', 'mail_admins'],
|
||||
'handlers': ['console', 'mail_admins'],
|
||||
'level': 'INFO',
|
||||
'filters': ['special']
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue