pino-pretty icon indicating copy to clipboard operation
pino-pretty copied to clipboard

🌲Basic prettifier for Pino log lines

Results 66 pino-pretty issues
Sort by recently updated
recently updated
newest added

My application sets the environment variable (`TZ="UTC"`) to override the timezone to UTC so that local development time behaves similar to our production. I would like to still show log...

enhancement

When pino-pretty is used together with elastic formatting the logging level has `log.level` key in the log object. I found no way to make pino-pretty work correctly with this level...

When not using the `nestedKey` Pino option, it's hard to figure a way to custom pretty the value log based on coming keys, by example using util.inspect(): ``` customPrettifiers: {...

Bumps [strip-json-comments](https://github.com/sindresorhus/strip-json-comments) from 3.1.1 to 5.0.1. Release notes Sourced from strip-json-comments's releases. v5.0.1 Fix TypeScript doc comment (#61) c440a9d https://github.com/sindresorhus/strip-json-comments/compare/v5.0.0...v5.0.1 v5.0.0 Breaking Require Node.js 14 5be749e Improvements Add option to...

dependencies
javascript

I'd like to be able to display just the `stack` property when logging errors, instead of giving the whole error to Pino when logging them. In an app of mine,...

Hello, In Pino, I'm using its `nestedKey` feature with a custom time field that I want Pino-Pretty will parse. However, the `--timestampKey` supports only fields in the root of the...

I have tried all kind of logs this library offers (info, debug, error etc..), but every output has a cyan color as the picture below I would like to change...

When message log ends with `\r`, pino-pretty print as below log: ```bash {"context":"VideoService"}Process 191658: stderr frame= 2000 fps=232 q=29.0 size= 4608kB time=00:01:07.15 bitrate= 562.1kbits/s dup=2 drop=0 speed= 7.8x {"context":"VideoService"}Process 191658:...

bug

This PR, https://github.com/pinojs/pino-pretty/pull/366, changed the default options for pino-pretty so that `pino-pretty -t` no longer * shows the `SYS:standard` option (timestamp with year, month, day, time in UTC) * shows...

If an optional function is set, e.g. as option`objectPrettifiers`, it should be called in [lib/utils.js#L407](https://github.com/pinojs/pino-pretty/blob/master/lib/utils.js#L407) instead of the included prettifier. This would allow to format the data-output with tools like...