mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
more sane default log handlers
* Removed the emailing of admins on request error. When turned on, the handler will include all django settings in the email. This is not desirable from a security standpoint.
This commit is contained in:
parent
6ebc6809eb
commit
d1705dd0cc
@ -1116,11 +1116,11 @@ LOGGING = {
|
||||
'handlers': ['console'],
|
||||
},
|
||||
'django.request': {
|
||||
'handlers': ['mail_admins', 'console', 'file', 'tower_warnings'],
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
'level': 'WARNING',
|
||||
},
|
||||
'rest_framework.request': {
|
||||
'handlers': ['mail_admins', 'console', 'file', 'tower_warnings'],
|
||||
'handlers': ['console', 'file', 'tower_warnings'],
|
||||
'level': 'WARNING',
|
||||
'propagate': False,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user