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

Add instructions to use different log levels for local and syslog #1372

Merged
merged 1 commit into from Mar 12, 2023

Conversation

tommyblue
Copy link
Contributor

This PR adds instructions to the syslog readme about how to send different log levels to local logging (log.SetLevel) and syslog hook.

The related issue #1369 explains the issue. I didn't change the hook behaviour to avoid disrupting users implementations. Adding instructions to the readme seems a fair solution to help people having the same issue I had.

fixes #1369

This commit adds instructions to the syslog readme about how to
send different log levels to local logging (`log.SetLevel`) and
syslog hook.

fixes sirupsen#1369
@tommyblue
Copy link
Contributor Author

@sirupsen any chance you could take a look at the pr?

@sirupsen sirupsen merged commit e59b167 into sirupsen:master Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logrus_syslog ignoring log level
2 participants