Skip to content

Commit

Permalink
chore: remove syslog handler from settings.py (#7427)
Browse files Browse the repository at this point in the history
System-level integration like this really needs
to be in settings_local. This was causing problems
when running in the dev environment.
  • Loading branch information
jennifer-richards authored May 16, 2024
1 parent 0d68646 commit d9c6ae7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,19 +252,19 @@ def skip_unreadable_post(record):
'level': 'INFO',
},
'django.security': {
'handlers': ['debug_console', ],
'handlers': ['debug_console', ],
'level': 'INFO',
},
'oidc_provider': {
'handlers': ['debug_console', ],
'level': 'DEBUG',
},
'datatracker': {
'handlers': ['syslog'],
'handlers': ['debug_console'],
'level': 'INFO',
},
'celery': {
'handlers': ['syslog'],
'handlers': ['debug_console'],
'level': 'INFO',
},
},
Expand All @@ -289,13 +289,6 @@ def skip_unreadable_post(record):
'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': [
Expand Down

0 comments on commit d9c6ae7

Please sign in to comment.