settings: set an explicit logger to disable the console logger automatically installed by Django

This commit is contained in:
Benjamin Dauvergne 2013-10-18 10:56:37 +02:00
parent d9854f9b96
commit e68a56f6f2
1 changed files with 5 additions and 0 deletions

View File

@ -200,6 +200,11 @@ LOGGING = {
'level': 'INFO',
'propagate': False,
},
'django': {
'handlers': [ 'mail_admins', 'syslog' ],
'level': 'INFO',
'propagate': False,
},
'south': {
'handlers': [ 'mail_admins', 'syslog' ],
'level': 'INFO',