mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-11-15 05:14:28 +01:00
Add option to disable request logging per endpoint
This commit is contained in:
@@ -156,7 +156,7 @@ func (router *Router) StartProxyService() error {
|
||||
if err != nil {
|
||||
http.ServeFile(w, r, "./web/hosterror.html")
|
||||
router.Option.Logger.PrintAndLog("dprouter", "failed to get upstream for hostname", err)
|
||||
router.logRequest(r, false, 404, "vdir-http", r.Host, "")
|
||||
router.logRequest(r, false, 404, "vdir-http", r.Host, "", sep)
|
||||
}
|
||||
|
||||
endpointProxyRewriteRules := GetDefaultHeaderRewriteRules()
|
||||
|
||||
Reference in New Issue
Block a user