-
I read this [article](https://itnext.io/nodejs-logging-made-right-117a19e8b4ce) about adding tracing to logs and it inspired me to want to enable this inside my hapi/hapi-pino project.
I registered…
-
### Problem Description
When the `@instana/collector` is loaded into a Node.js application, but that application also uses pino v7+ [transports](https://getpino.io/#/docs/transports), then the Node.j…
-
I'm not sure if in-memory is the most correct terminology, but hopefully a quick explanation will suffice. I have a use case where we're essentially letting a user define a mini plugin, which our mai…
ghost updated
2 years ago
-
If you execute:
`log.info({ msg: 'test', msgUndefined: undefined })`
pino logs:
`{"level":30,"time":1553633517657,"pid":1,"hostname":"a8455c8d7d8b","msg":"test","v":1}`
the properties with…
-
Errors don't end up in `stdout` when using pino-pretty or a custom transport after catching en error (e.g. typical express + mongoose app setup)
The following is the `README.md` from [this issue's …
-
Hi all
Having chosen to use PNPM to manage the packages within my monorepo, I turned to Webpack 5 to create bundles for each of my Node apps (Webpack follows PNPM's links and creates single-file bu…
-
The section on mixins in the readme has the following code:
```js
const mixin = {
appName: 'My app'
}
const logger = pino({
mixin(obj) {
return {
description: obj…
-
Hello everyone!
At Elastic, we have a custom format for JSON logs named [ECS](https://www.elastic.co/guide/en/ecs/current/index.html), it helps us run some automation behind the scenes and improve th…
-
I'm running into some issues while trying out Pino with React.
```
const dest = pino.destination();
logger.info("Hydrogen");
```
The code above totally works, but when I try to add a desti…
9bits updated
2 years ago
-
Hello guys,
I recently discovered this library, but I couldn't find any way to create a pino instance that outputs to the console (pretty) and into a file.
Is there a way to do that?
I tried …