pinojs / pino

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

Add docs page: Switching from bunyan #727

Open callumlocke opened 5 years ago

callumlocke commented 5 years ago

I found Pino when googling for bunyan alternatives, because I'm hoping to replace bunyan in a Node web server project I've inherited.

It would be useful if Pino could add a "Switching from bunyan" docs page as a starting point for people in this position, to list any important conceptual differences and to map bunyan concepts to corresponding Pino concepts.

jsumners commented 5 years ago

I don't think anyone on the team has used Bunyan in so long that we would be able to accurately write such a document. We'd certainly welcome a PR that adds one, though. Feel free to ask any questions you have as well.

kdubb commented 5 years ago

@jsumners Bunyan hasn't been updated in so long that whenever you last used it, your experience is probably still valid 😏

In all seriousness I got here exactly the same way as OP. The transition was essentially "easy"; an hour tops for a good sized repository. pino + pino-pretty felt close to drop-in replacements for their Bunyan counterparts.

Many thanks to the entire Pino team, it was nice finding such a well written, established & active project to switch to when seeking a replacement for Bunyan.

AleksandrSl commented 4 years ago

I'm helping to migrate https://github.com/logux/server from bunyan to pino, so I can make a PR with my experience. However, I fear it will not be exhaustive, cause I have little experience with bunyan.

mcollina commented 4 years ago

Go ahead, any help is appreciated!