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
This always overwrites the Logger Level.
The transports level should behave like a cap, so that the Developer can use the transport options to set global caps (e.g. don't log anything below WARN to the log server) while configuring context-specific levels in the loggers.
I would expect SQL logs of 'psql' to show up only in the File Logs, and Redis debug messages to not show up at all. I would expect application info messages to show up in the File Logs only.
Related issue: the applicationinsights instrumentation of winston initializes the applicationinsights transport with 'silly', since it wants to log anything that the loggers deem log-worthy. This causes all debug logs to be transported into applicationinsights, no matter how the level on the specific logger is set.
The text was updated successfully, but these errors were encountered:
winston-transport/index.js
Lines 74 to 78 in 7bbaf43
This always overwrites the Logger Level.
The transports level should behave like a cap, so that the Developer can use the transport options to set global caps (e.g. don't log anything below WARN to the log server) while configuring context-specific levels in the loggers.
E.g.
I would expect SQL logs of 'psql' to show up only in the File Logs, and Redis debug messages to not show up at all. I would expect application info messages to show up in the File Logs only.
Related issue: the applicationinsights instrumentation of winston initializes the applicationinsights transport with 'silly', since it wants to log anything that the loggers deem log-worthy. This causes all debug logs to be transported into applicationinsights, no matter how the level on the specific logger is set.
The text was updated successfully, but these errors were encountered: