浏览代码

log when cleaner has nothing to do

jomo 9 年之前
父节点
当前提交
750d741308
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/cleaner.js

+ 2 - 2
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");
     }
   });
 };