mirror of https://github.com/k3s-io/k3s
Remove user agent logging (doesn't add significant value)
We can reintroduce path/agent logging at a later point, this just clogs verbose logs.pull/6/head
parent
fad38a52d2
commit
d17f75f254
|
@ -250,7 +250,6 @@ func (g *APIGroupVersion) InstallREST(container *restful.Container, root string,
|
||||||
// TODO: eliminate all the restful wrappers
|
// TODO: eliminate all the restful wrappers
|
||||||
// TODO: create a separate handler per verb
|
// TODO: create a separate handler per verb
|
||||||
h := func(req *restful.Request, resp *restful.Response) {
|
h := func(req *restful.Request, resp *restful.Response) {
|
||||||
glog.V(4).Infof("User-Agent: %s\n", req.HeaderParameter("User-Agent"))
|
|
||||||
strippedHandler.ServeHTTP(resp.ResponseWriter, req.Request)
|
strippedHandler.ServeHTTP(resp.ResponseWriter, req.Request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue