question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate from node-bunyan to pinojs

See original GitHub issue

Is your feature request related to a problem? Please describe.

Describe the solution you’d like I would like to improve the performance for the logger in v5. bunyan is not actively maintained anymore and slower compared to other solutions.

Describe alternatives you’ve considered https://www.npmjs.com/package/pino https://www.npmjs.com/package/roarr https://www.npmjs.com/package/log4js

Let’s discuss what we need and which one we can use in the future.

Additional context Add any other context or screenshots about the feature request here.

Needed features

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
juanpicadocommented, Mar 29, 2020

I’m actively working on this:

  • re-write logger from scratch with Pinojs
  • custom prettifier and allow external prettifiers
  • It will be possible to disable prettifier and display raw JSON
  • It will drop two types, file rotation ~and streaming to files~ (fix: #1079)
  • it will allow plugins
  • 🤔 considering remove multi-stream support (pinoJS does not support this out of the box) but provides a package to allow it.
1reaction
lirantalcommented, Jul 20, 2019

Seconding the pino integration!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best practices to collect, customize and centralize Node.js logs
Another good option is pino.js. This is a modern Node.js logger with low overhead. ... You might want to check out node-bunyan or...
Read more >
verdaccio - Bountysource
Migrate from node-bunyan to pinojs $ 0 ... Created 3 years ago in verdaccio/verdaccio with 10 comments. Is your feature request related to...
Read more >
Service logging in JSON with Bunyan - Node.js
Time to burn your log4j Layout classes and move formatting to the ... that is part of the "node-bunyan" install to get more...
Read more >
A Complete Guide to Pino Logging in Node.js - Better Stack
To solve this problem, the Pino team developed the pino-pretty module which can be used to convert NDJSON entries to a more human...
Read more >
Ask HN: Best practices for log format? - Hacker News
Also this: https://github.com/pinojs/pino ... a jq alias with a custom format to convert the json logs to something colorful and readable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found