mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
http frontend log spam fix
This commit is contained in:
parent
a312021a4e
commit
370fd78402
@ -215,19 +215,19 @@ func authHandler(handler http.Handler, realm string, cfg *Config, ctx ziti.Conte
|
||||
return
|
||||
}
|
||||
} else {
|
||||
logrus.Infof("%v -> no auth scheme for '%v'", r.RemoteAddr, svcName)
|
||||
logrus.Warnf("%v -> no auth scheme for '%v'", r.RemoteAddr, svcName)
|
||||
notfound_ui.WriteNotFound(w)
|
||||
}
|
||||
} else {
|
||||
logrus.Infof("%v -> no proxy config for '%v'", r.RemoteAddr, svcName)
|
||||
logrus.Warnf("%v -> no proxy config for '%v'", r.RemoteAddr, svcName)
|
||||
notfound_ui.WriteNotFound(w)
|
||||
}
|
||||
} else {
|
||||
logrus.Infof("%v -> service '%v' not found", r.RemoteAddr, svcName)
|
||||
logrus.Warnf("%v -> service '%v' not found", r.RemoteAddr, svcName)
|
||||
notfound_ui.WriteNotFound(w)
|
||||
}
|
||||
} else {
|
||||
logrus.Warnf("host '%v' did not match host match, returning health check", r.Host)
|
||||
logrus.Debugf("host '%v' did not match host match, returning health check", r.Host)
|
||||
health_ui.WriteHealthOk(w)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user