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
I'm just getting started with Pino, and try to override the messageKey as mentioned in the documentation. But it's always using the default msg as key.
and the output is:
{"severity":"info","msg":"Random name is relevant-indigo"}
{"severity":"warn","msg":"experimenting warning"}
{"severity":"error","msg":"Evil, program failed"}
like to have message as key instead of msg.
Please help with the right config to achieve the expected result.
Additional info:
Pino version: 9.1.0
Tested with cloudflare workers and hit the request from browser
please let me know if additional details are required.
Regards,
Raj
The text was updated successfully, but these errors were encountered:
Hi Team,
I'm just getting started with Pino, and try to override the messageKey as mentioned in the documentation. But it's always using the default msg as key.
My config
and the output is:
{"severity":"info","msg":"Random name is relevant-indigo"}
{"severity":"warn","msg":"experimenting warning"}
{"severity":"error","msg":"Evil, program failed"}
like to have message as key instead of msg.
Please help with the right config to achieve the expected result.
Additional info:
Pino version: 9.1.0
Tested with cloudflare workers and hit the request from browser
please let me know if additional details are required.
Regards,
Raj
The text was updated successfully, but these errors were encountered: