diff --git a/apps/backend/libs/logger/src/pino-option.logger.ts b/apps/backend/libs/logger/src/pino-option.logger.ts index fdb1f19e9e..69167443f4 100644 --- a/apps/backend/libs/logger/src/pino-option.logger.ts +++ b/apps/backend/libs/logger/src/pino-option.logger.ts @@ -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 } }