Skip to content

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

Merged
sirupsen merged 1 commit into
sirupsen:masterfrom
tommyblue:syslog_different_loglevels
Mar 12, 2023
Merged

Add instructions to use different log levels for local and syslog#1372
sirupsen merged 1 commit into
sirupsen:masterfrom
tommyblue:syslog_different_loglevels

Conversation

@tommyblue

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

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