diff --git a/lib/winston/logger.js b/lib/winston/logger.js index 77317675a..64574cb32 100755 --- a/lib/winston/logger.js +++ b/lib/winston/logger.js @@ -175,8 +175,8 @@ Logger.prototype.log = function (level) { // function emit(name, next) { var transport = self.transports[name]; - if ((transport.level && self.levels[transport.level] <= self.levels[level]) - || (!transport.level && self.levels[self.level] <= self.levels[level])) { + if ((transport.level && self.levels[transport.level] >= self.levels[level]) + || (!transport.level && self.levels[self.level] >= self.levels[level])) { transport.log(level, msg, meta, function (err) { if (err) { err.transport = transport;