We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
It seems the redaction can be done in lib/bunyan.js:
lib/bunyan.js
// Serialize an HTTP request. Logger.stdSerializers.req = function (req) {
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: