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

according to readme I am supposed to use http://jmespath.org/tutorial.html syntax for the `search` key I just have a little test logger running with prettyPrint enabled. Runs fine except for `search`...

The ```--search``` parameter is great for searching within the JSON content but how would I filter the logs for the timestamp? Let's say I wanted all log entries from 17:10...

Due to the addition of `pino.destination`, and that fact `SonicBoom` kind of is and kind of isn't a stream, the adoption of the term "destination" has become prevalent in the...

I am logging [polylines](https://developers.google.com/maps/documentation/javascript/examples/polyline-simple) which include the character `\`. When I try to log them, it escapes the backslash as it's JSON encoding the value. e.g. ``` pino.info({ polyline: '\\'...

I run command in teamcity step ci/cd npm run lint and got this error, node version is 16.13.2, os linux rhel 8 How can I fix this? I can't understand...

I was trying to understand why, even with all due properties set and the script ok for running logs formatted with pino-pretty, why the logs were being this way -...

This PR is combined changes from #493 and #494 (see these comments [1](https://github.com/pinojs/pino-pretty/pull/493#issuecomment-1964469268) [2](https://github.com/pinojs/pino-pretty/pull/493#issuecomment-1971957478)). Summary of changes: ## Extend/Normalize all "format" functions with `extras` object All "format" functions -- `customPrettifiers`,...

It seems that pino-pretty crashes when tries to serialize object with null prototype. Ran into problem when tried to log `request.query` from `fastify`. ``` TypeError: Function.prototype.toString requires that 'this' be...

I have this command `ts-node src/server.ts | yarn pino-pretty -L info -i req.headers,res.headers,dd` But my logs still show this: ``` 2023-09-14 14:08:15.382 web web:dev: [14:08:15.382] DEBUG (58318 on senseofirection.lan): 2023-09-14...

I am following the recommendation here: https://github.com/pinojs/pino-pretty/tree/db278755318e2f1c565df736bbedd7eb7a2fd73f#usage-with-jest Reduced test case: `package.json`: ```json { "dependencies": { "jest": "^29.7.0", "pino": "^8.16.2", "pino-pretty": "^10.2.3" } } ``` `test.js`: ```js const pino = require('pino')...

bug
documentation