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
Pino allows you to customize the log levels, like:
constadditionalLevels={notice: 35,// Between info and warncritical: 55,// Between error and fatal};constpinoLogger=pino({// ...other optionscustomLevels: additionalLevels});
However, there doesn't seem to be any way to pass these options to the @logtail/pino transport. It's just using its own hard-coded log levels instead. Is there any way to change this?
The text was updated successfully, but these errors were encountered:
TheSecurityDev
changed the title
Pino custom levels are ignored
Pino custom levels are ignored in @logtail/pino
Sep 20, 2024
You're right. Currently, there's no way to pass the custom log levels to Pino transport.
I'll pass this feedback on to the team to see if we can improve this.
Pino allows you to customize the log levels, like:
However, there doesn't seem to be any way to pass these options to the
@logtail/pino
transport. It's just using its own hard-coded log levels instead. Is there any way to change this?The text was updated successfully, but these errors were encountered: