We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error
1 parent de6e3f4 commit b8e4bcdCopy full SHA for b8e4bcd
packages/api/src/common/logger.js
@@ -79,10 +79,7 @@ const logger = winston.createLogger({
79
// If we're not in production then log to the `console` with the format:
80
// `${info.level}: ${info.message} JSON.stringify({ ...rest }) `
81
//
82
-const consoleLogLevel = getLogLevel(
83
- process.env.LOG_CONSOLE_LEVEL,
84
- process.env.NODE_ENV !== 'production' ? 'error' : 'off',
85
-);
+const consoleLogLevel = getLogLevel(process.env.LOG_CONSOLE_LEVEL, 'error');
86
87
if (consoleLogLevel !== 'off') {
88
logger.add(
0 commit comments