mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 21:10:20 +08:00
Mailman: handle Django security logs like request logs
This commit is contained in:
@@ -353,7 +353,15 @@ LOGGING = {
|
||||
{% endif %}
|
||||
],
|
||||
'level': 'DEBUG',
|
||||
'propagate': True,
|
||||
},
|
||||
'django.security': {
|
||||
'handlers': [
|
||||
'file',
|
||||
{% if env == 'production' %}
|
||||
'mail_admins',
|
||||
{% endif %}
|
||||
],
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
},
|
||||
'formatters': {
|
||||
|
||||
Reference in New Issue
Block a user