mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Avoid log entry if not set for debug (#35741)
This commit is contained in:
committed by
GitHub
parent
9a3e3014dd
commit
6b786e7f68
@@ -65,7 +65,9 @@ func ApplyRoute(ctx context.Context, req *http.Request, proxyPath string, route
|
||||
}
|
||||
}
|
||||
|
||||
logger.Info("Requesting", "url", req.URL.String())
|
||||
if setting.DataProxyLogging {
|
||||
logger.Debug("Requesting", "url", req.URL.String())
|
||||
}
|
||||
}
|
||||
|
||||
func getTokenProvider(ctx context.Context, cfg *setting.Cfg, ds *models.DataSource, pluginRoute *plugins.AppPluginRoute,
|
||||
|
||||
Reference in New Issue
Block a user