This issue is for the feature of redaction.
With pino, we can do:
redact: {
paths: [
'req.headers.authorization',
'*.options.headers.authorization',
'*.requestOptions.headers.authorization',
We can write custom serializer to recursively inspect the data to redact any sensitive attributes.
This issue is for the feature of redaction.
With pino, we can do:
We can write custom serializer to recursively inspect the data to redact any sensitive attributes.