adding hostname to stats, changed data backup directory

This commit is contained in:
MrFry 2020-04-25 08:45:20 +02:00
parent 7020c10626
commit 6ce52d00d9
5 changed files with 6 additions and 6 deletions

View file

@ -32,7 +32,7 @@ module.exports = function (options) {
logger.LogReq(req, true, res.statusCode)
if (toLog) { logger.LogReq(req) }
if (res.statusCode !== 404) { logger.LogStat(req.url, ip) }
if (res.statusCode !== 404) { logger.LogStat(req.url, ip, hostname) }
})
next()
}