Skip to content

Commit

Permalink
revert direct logger changes in favor of better upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Aug 20, 2023
1 parent 12fbc48 commit f3f85f1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ const keySanitizer = sanitizeKey => (level, msg, meta) => {
*/
module.exports = class Log extends winston.Logger {
constructor({logDir, logLevelConsole = 'warn', logLevel = 'debug', logName = 'lando'} = {}) {
// allow DEBUG flag to set verbose mode
if (process && process.env && process.env.DEBUG === 'lando*') logLevelConsole = 'debug';
if (process && process.env && process.env.DEBUG === '*') logLevelConsole = 'debug';

// If loglevelconsole is numeric lets map it!
if (_.isInteger(logLevelConsole)) logLevelConsole = logLevels[logLevelConsole];

Expand Down

0 comments on commit f3f85f1

Please sign in to comment.