pinojs / pino

🌲 super fast, all natural json logger
http://getpino.io
MIT License
14.21k stars 875 forks source link

msg not always a string? #170

Closed ronag closed 7 years ago

ronag commented 7 years ago

{"pid":1,"hostname":"03c629b527e3","name":"storage-fs","level":50,"time":1484571351146,"msg":-1,"v":1}

This breaks bunyan CLI.

jsumners commented 7 years ago

I'm just curios, is there a reason to pass Pino's output through Bunyan's CLI instead of Pino's own?

ronag commented 7 years ago

@jsumners: Didn't know pino had its own.

jsumners commented 7 years ago

@ronag it does. It works just the same as the Bunyan one. Install Pino globally and pipe the logs through it. See https://github.com/pinojs/pino/blob/master/docs/cli.md

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.