express-pino-logger icon indicating copy to clipboard operation
express-pino-logger copied to clipboard

🌲 an express middleware to log with pino

Results 17 express-pino-logger issues
Sort by recently updated
recently updated
newest added

Bumps [pino](https://github.com/pinojs/pino) from 7.11.0 to 8.4.1. Release notes Sourced from pino's releases. v8.4.1 What's Changed Add pino-transport-datadog to transports.md by @​theogravity in pinojs/pino#1512 Simplify Google logging-specific configuration example by @​andrew-demb...

dependencies
javascript

Bumps [pino-http](https://github.com/pinojs/pino-http) from 7.1.0 to 8.2.0. Release notes Sourced from pino-http's releases. v8.2.0 What's Changed Bump tsd from 0.21.0 to 0.22.0 by @​dependabot in pinojs/pino-http#238 refactor(logger): remove unneeded defensive code...

dependencies
javascript

BREAKING CHANGE: Drops support for EOL node 12; adds support for node 18

req.remoteAddress does not working, how to change to req.header('x-real-ip'), mywebsite is running behind cloudflare cdn. serializers: { req: function requestSerializer(req) { return { id: req.id, method: req.method, url: req.url, remoteAddress:...

I want to only log status code >400 request ,how to do it? THanks.

enhancement
help wanted

How do you remove the request and response from pino? It seems too long and unnecessary. I redacted both but is there another way to remove this? I didn't get...

https://github.com/pinojs/express-pino-logger#custom-serializers ```diff 'use strict' var app = require('express')() + var ExpressPinoLogger = require('express-pino-logger') - var ExpressPinoLogger = require('express-pino-logger')() ({ method: req.method, url: req.url, user: req.raw.user, }), }, }) // middleware...

I am new to nodejs and decided to use the pino logger in my application. Here is the code snippet showing how I am using it: ``` const expressPino =...

Hi, I'm using pino-noir library in some micro services and able to redact sensitive information for e.g. **req.headers.authorization** in standard output of logs whenever our REST API gets a request....

Hi. I think i'm just a bit confused about the way express-pino-logger/pino-http handles errors, i would expect any thrown errors to be caught & logged by pino, instead it seems...