log when cleaner has nothing to do

This commit is contained in:
jomo 2015-09-17 01:51:11 +02:00
parent 7e77142b29
commit 750d741308

View File

@ -64,7 +64,7 @@ exp.run = function() {
logging.warn("RedisCleaner: Redis limit reached! flushing now"); logging.warn("RedisCleaner: Redis limit reached! flushing now");
redis.flushall(); redis.flushall();
} else { } else {
logging.debug("RedisCleaner: Nothing to clean"); logging.log("RedisCleaner: Nothing to clean");
} }
}); });
@ -118,7 +118,7 @@ exp.run = function() {
} }
}); });
} else { } else {
logging.debug("DiskCleaner: Nothing to clean"); logging.log("DiskCleaner: Nothing to clean");
} }
}); });
}; };