Skip to content

Commit

Permalink
chore(be): enable no-log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehyeon1020 committed May 10, 2024
1 parent af01a5e commit 73f2962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/libs/logger/src/pino-option.logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const pinoLoggerModuleOption: Params = {
return req
}
},
redact: ['req.body.password']
// enabled: !!process.env.NOLOG
redact: ['req.body.password'],
enabled: !!process.env.NOLOG
}
}

0 comments on commit 73f2962

Please sign in to comment.