You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 noticewarning 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
The text was updated successfully, but these errors were encountered:
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
andinfo
but will not lognotice
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
The text was updated successfully, but these errors were encountered: