Explorar o código

log when cleaner has nothing to do

jomo %!s(int64=9) %!d(string=hai) anos
pai
achega
750d741308
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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");
     }
   });
 };