Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove syslog handler from settings.py #7427

Merged

Conversation

jennifer-richards
Copy link
Member

System-level integration like this really needs to be in settings_local. This was causing problems when running in the dev environment.

To get the effect we want on ietfa, we should add the following to settings_local.py:

LOGGING["handlers"]["syslog"] = {
    'level': 'DEBUG',
    'class': 'logging.handlers.SysLogHandler',
    'facility': 'user',
    'formatter': 'plain',
    'address': '/dev/log',
}
LOGGING["loggers"]["datatracker"]["handlers"] = ["syslog"]
LOGGING["loggers"]["celery"]["handlers"] = ["syslog"]

System-level integration like this really needs
to be in settings_local. This was causing problems
when running in the dev environment.
@rjsparks rjsparks merged commit d9c6ae7 into ietf-tools:feat/k8s May 16, 2024
2 checks passed
@jennifer-richards jennifer-richards deleted the disable-syslog-default branch May 16, 2024 20:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants