mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 18:10:39 +09:00
Merge pull request #2659 from plind-dm/fix/redact-bearer-tokens-in-logs
fix(security): redact Bearer tokens from server log output
This commit is contained in:
commit
2f73346a64
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ const sharedOpts = {
|
|||
|
||||
export const logger = pino({
|
||||
level: "debug",
|
||||
redact: ["req.headers.authorization"],
|
||||
}, pino.transport({
|
||||
targets: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue