Skip to content

Commit

Permalink
fix: use level label instead of number
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Oct 24, 2024
1 parent 482f40e commit c93e54e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stacking/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (process.env.STACKS_LOG_JSON === '1') {
logger = pino({
level: process.env.LOG_LEVEL || 'info',
name: serviceName,
formatters: { level: (label) => { return { level: label } } }
});
} else {
logger = pino({
Expand Down

0 comments on commit c93e54e

Please sign in to comment.