Merge pull request #41457 from alejandroEsc/ae/kubelet/debug2

Automatic merge from submit-queue

Log that debug handlers have been turned on.

**What this PR does / why we need it**: PR allows user to have a message in logs that debug handlers are on. It should allow the operator to know and automate a check for the case where debug has been left on. 

**Release note**:
```
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-02-21 10:51:32 -08:00 committed by GitHub
commit b201ac2f8f

View File

@ -285,6 +285,7 @@ const pprofBasePath = "/debug/pprof/"
// InstallDeguggingHandlers registers the HTTP request patterns that serve logs or run commands/containers
func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) {
glog.Infof("Adding debug handlers to kubelet server.")
var ws *restful.WebService
ws = new(restful.WebService)