Dragonfly to support line exclusion

This commit is contained in:
2022-04-04 14:56:36 +09:00
parent 38f2911266
commit 9c0b3474e9
3 changed files with 88 additions and 13 deletions

View File

@@ -93,7 +93,7 @@ class PageCache
Dragonfly.Info(
"[C] "
+ ( req.headers[ "x-forwarded-for" ] || req.connection.remoteAddress ) + " "
+ ( req.headers[ "x-forwarded-for" ] || req.socket.remoteAddress ) + " "
+ req.method + ": " + url
+ " - " + req.headers["user-agent"]
+ ` in ${process.hrtime.bigint() - res._hrtime}ns`