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");
redis.flushall();
} else {
logging.debug("RedisCleaner: Nothing to clean");
logging.log("RedisCleaner: Nothing to clean");
}
});
@ -118,7 +118,7 @@ exp.run = function() {
}
});
} else {
logging.debug("DiskCleaner: Nothing to clean");
logging.log("DiskCleaner: Nothing to clean");
}
});
};