Pārlūkot izejas kodu

change two more logs to debug

jomo 10 gadi atpakaļ
vecāks
revīzija
d0689c9e3b
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      lib/cache.js
  2. 1 1
      lib/helpers.js

+ 1 - 1
lib/cache.js

@@ -138,7 +138,7 @@ exp.save_hash = function(rid, userId, skin_hash, cape_hash, callback) {
 
 // removes the hash for +userId+ from the cache
 exp.remove_hash = function(rid, userId) {
-  logging.log(rid, "deleting hash from cache");
+  logging.debug(rid, "deleting hash from cache");
   redis.del(userId.toLowerCase(), "h", "t");
 };
 

+ 1 - 1
lib/helpers.js

@@ -156,7 +156,7 @@ function resume(userId, type, err, hash) {
 function store_images(rid, userId, cache_details, type, callback) {
   var is_uuid = userId.length > 16;
   if (requests[type][userId]) {
-    logging.log(rid, "adding to request queue");
+    logging.debug(rid, "adding to request queue");
     push_request(userId, type, callback);
   } else {
     // add request to the queue