chore: remove syslog handler from settings.py (#7427)

System-level integration like this really needs
to be in settings_local. This was causing problems
when running in the dev environment.
This commit is contained in:
Jennifer Richards 2024-05-16 12:55:23 -03:00 committed by GitHub
parent 0d68646fdc
commit d9c6ae7b7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -260,11 +260,11 @@ LOGGING = {
'level': 'DEBUG',
},
'datatracker': {
'handlers': ['syslog'],
'handlers': ['debug_console'],
'level': 'INFO',
},
'celery': {
'handlers': ['syslog'],
'handlers': ['debug_console'],
'level': 'INFO',
},
},
@ -289,13 +289,6 @@ LOGGING = {
'class': 'logging.StreamHandler',
'formatter': 'django.server',
},
'syslog': {
'level': 'DEBUG',
'class': 'logging.handlers.SysLogHandler',
'facility': 'user',
'formatter': 'plain',
'address': '/dev/log',
},
'mail_admins': {
'level': 'ERROR',
'filters': [