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

syslog levels reverse logging priority #722

Closed
yonjah opened this issue Oct 9, 2015 · 1 comment
Closed

syslog levels reverse logging priority #722

yonjah opened this issue Oct 9, 2015 · 1 comment

Comments

@yonjah
Copy link

yonjah commented Oct 9, 2015

winston default logging priority order is ascending goes from lowest 0 (silly) to highest 5 (error)
but syslog priority order is descending from lowest 7 (debug) to highest 0 (emerg)

this means that when setting a log level for winston when using syslog
you will actually log below that level instead of above it
so setting logger.level='info' (which is the default)
will actually log debug and info but will not log notice warning and so on.

I might be missing some config to make winston reverse logging priority
but both the docs here and for winston-syslog did not mention any such option

@indexzero
Copy link
Member

Duplicate of #424 #406 #290. Fixed in [email protected] (see: #732)

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

No branches or pull requests

2 participants