log -> debug etag

This commit is contained in:
jomo 2014-11-30 03:01:06 +01:00
parent cf43f1dc07
commit 91854ad86e
2 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {