From 73f2962ef08fb196c6791fba4f4311a79465c6d5 Mon Sep 17 00:00:00 2001 From: Jaehyeon Kim <65964601+Jaehyeon1020@users.noreply.github.com> Date: Fri, 10 May 2024 11:46:46 +0000 Subject: [PATCH] chore(be): enable no-log --- apps/backend/libs/logger/src/pino-option.logger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }