mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
log response time
This commit is contained in:
parent
fd18c70bec
commit
6f94af7a4a
@ -29,7 +29,7 @@ module.exports = function(request, response, result) {
|
||||
});
|
||||
|
||||
response.on("finish", function() {
|
||||
logging.log(request.id, response.statusCode, "(" + (human_status[result.status] || "-") + ")");
|
||||
logging.log(request.id, response.statusCode, headers["Response-Time"] + "ms", "(" + (human_status[result.status] || "-") + ")");
|
||||
});
|
||||
|
||||
response.on("error", function(err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user