Skip to content

Commit

Permalink
update logger
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Oct 18, 2024
1 parent 47f55d9 commit 57f703c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand All @@ -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',
},
Expand Down

0 comments on commit 57f703c

Please sign in to comment.