From 750d741308d49907c46d3cafcb46934f4d37dd1e Mon Sep 17 00:00:00 2001 From: jomo Date: Thu, 17 Sep 2015 01:51:11 +0200 Subject: [PATCH] log when cleaner has nothing to do --- lib/cleaner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cleaner.js b/lib/cleaner.js index 8c29a47..21c032d 100644 --- a/lib/cleaner.js +++ b/lib/cleaner.js @@ -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"); } }); };