frontend remote address logging

This commit is contained in:
Michael Quigley 2022-08-31 14:55:57 -04:00
parent d1e63fd8e6
commit 378d83715b
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -210,13 +210,13 @@ func basicAuth(handler http.Handler, realm string, ctx ziti.Context) http.Handle
return
}
} else {
logrus.Infof("no auth scheme for '%v'", svcName)
logrus.Infof("%v -> no auth scheme for '%v'", r.RemoteAddr, svcName)
}
} else {
logrus.Infof("no proxy config for '%v'", svcName)
logrus.Infof("%v -> no proxy config for '%v'", r.RemoteAddr, svcName)
}
} else {
logrus.Infof("service '%v' not found", svcName)
logrus.Infof("%v -> service '%v' not found", r.RemoteAddr, svcName)
}
}
}