Skip to content

Commit

Permalink
fix(logger): set correct pino config in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
SelmaBergstrand committed Oct 10, 2024
1 parent a166f01 commit e6729fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tavla/src/Shared/utils/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const defaultPinoConf = {
}

export const logger: Logger =
process.env.COMMON_ENV === 'prd'
process.env.COMMON_ENV === 'prd' || process.env.COMMON_ENV === 'dev'
? pino({ level: 'warn', ...defaultPinoConf })
: pino({
transport: {
Expand Down

0 comments on commit e6729fd

Please sign in to comment.