Skip to content

Commit

Permalink
chore: update log level to always lower-case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai Sankeerth committed Jul 1, 2024
1 parent 3aeb28f commit f133d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { getMatchedMetadata } = require('./util/logger');
// LOGGER_IMPL can be `console` or `winston`
const loggerImpl = process.env.LOGGER_IMPL ?? 'winston';

let logLevel = process.env.LOG_LEVEL ?? 'error';
let logLevel = (process.env.LOG_LEVEL ?? 'error').toLowerCase();

const logger = structuredLogger({
level: logLevel,
Expand Down

0 comments on commit f133d17

Please sign in to comment.