Browse Source

log -> debug etag

jomo 10 years ago
parent
commit
91854ad86e
2 changed files with 4 additions and 4 deletions
  1. 2 2
      routes/avatars.js
  2. 2 2
      routes/skins.js

+ 2 - 2
routes/avatars.js

@@ -51,8 +51,8 @@ router.get("/:uuid.:ext?", function(req, res) {
         } else if (err) {
           http_status = 503;
         }
-        logging.log("matches: " + matches);
-        logging.log("Etag: " + req.get("If-None-Match"));
+        logging.debug("Etag: " + req.get("If-None-Match"));
+        logging.debug("matches: " + matches);
         logging.log("status: " + http_status);
         sendimage(http_status, status, image);
       } else {

+ 2 - 2
routes/skins.js

@@ -35,8 +35,8 @@ router.get("/:uuid.:ext?", function(req, res) {
         } else if (err) {
           http_status = 503;
         }
-        logging.log("matches: " + matches);
-        logging.log("Etag: " + req.get("If-None-Match"));
+        logging.debug("Etag: " + req.get("If-None-Match"));
+        logging.debug("matches: " + matches);
         logging.log("status: " + http_status);
         sendimage(http_status, image);
       } else {