Explorar o código

Merge pull request #14320 from briangann/20181104_remove_trace_output_for_routes

redact value for plugin proxy routes
Torkel Ödegaard %!s(int64=7) %!d(string=hai) anos
pai
achega
a6ef156922
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/api/pluginproxy/pluginproxy.go

+ 1 - 1
pkg/api/pluginproxy/pluginproxy.go

@@ -87,7 +87,7 @@ func NewApiPluginProxy(ctx *m.ReqContext, proxyPath string, route *plugins.AppPl
 			}
 
 			for key, value := range headers {
-				log.Trace("setting key %v value %v", key, value[0])
+				log.Trace("setting key %v value <redacted>", key)
 				req.Header.Set(key, value[0])
 			}
 		}