From 57f703c14608a6bc2a3614b89ed1ad70209a9765 Mon Sep 17 00:00:00 2001 From: Tim Hostetler <6970899+thostetler@users.noreply.github.com> Date: Fri, 18 Oct 2024 15:43:12 -0400 Subject: [PATCH] update logger --- src/logger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logger.ts b/src/logger.ts index 4794601c9..bd3dfaca9 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -5,7 +5,7 @@ export const logger: Logger = pino({ browser: { asObject: true, }, - level: process.env.LOG_LEVEL || 'info', + level: process.env.NEXT_PUBLIC_LOG_LEVEL || 'info', base: { env: process.env.NODE_ENV || 'development', }, @@ -29,7 +29,7 @@ export const edgeLogger: Logger = pino({ } }, }, - level: process.env.LOG_LEVEL || 'info', + level: process.env.NEXT_PUBLIC_LOG_LEVEL || 'info', base: { env: process.env.NODE_ENV || 'development', },