Fix konfigurace loggeru
This commit is contained in:
parent
049eec24c9
commit
8245897d00
2 changed files with 3 additions and 2 deletions
|
@ -62,6 +62,6 @@ CSRF_COOKIE_SECURE = True
|
|||
|
||||
# LOGGING
|
||||
|
||||
LOGGING['loggers']['']['handlers'].extend('mail_admins')
|
||||
LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins']
|
||||
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ CSRF_COOKIE_SECURE = True
|
|||
|
||||
# LOGGING
|
||||
|
||||
LOGGING['loggers']['']['handlers'].extend('mail_admins')
|
||||
LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins']
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue