This is an automated email from the ASF dual-hosted git repository.

miao pushed a commit to branch grafana_plugin
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/grafana_plugin by this push:
     new 857cf9d525d Removed front-end request parameters output in Grafana 
backend logs
857cf9d525d is described below

commit 857cf9d525d7480bdccb2d8dcfc67802f5ef61e2
Author: Cloudwise_Luke <[email protected]>
AuthorDate: Fri Aug 4 17:46:02 2023 +0800

    Removed front-end request parameters output in Grafana backend logs
---
 iotdb-connector/grafana-plugin/pkg/plugin/plugin.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/iotdb-connector/grafana-plugin/pkg/plugin/plugin.go 
b/iotdb-connector/grafana-plugin/pkg/plugin/plugin.go
index cb9800e268a..370a2a5d854 100644
--- a/iotdb-connector/grafana-plugin/pkg/plugin/plugin.go
+++ b/iotdb-connector/grafana-plugin/pkg/plugin/plugin.go
@@ -94,7 +94,6 @@ func (d *IoTDBDataSource) Dispose() {
 // The QueryDataResponse contains a map of RefID to the response for each 
query, and each response
 // contains Frames ([]*Frame).
 func (d *IoTDBDataSource) QueryData(ctx context.Context, req 
*backend.QueryDataRequest) (*backend.QueryDataResponse, error) {
-       log.DefaultLogger.Info("QueryData called", "request", req)
        // create response struct
        response := backend.NewQueryDataResponse()
 
@@ -376,7 +375,6 @@ func DataSourceUrlHandler(url string) string {
 // datasource configuration page which allows users to verify that
 // a datasource is working as expected.
 func (d *IoTDBDataSource) CheckHealth(_ context.Context, req 
*backend.CheckHealthRequest) (*backend.CheckHealthResult, error) {
-       log.DefaultLogger.Info("CheckHealth called", "request", req)
 
        var status = backend.HealthStatusOk
        var message = "Data source is working"

Reply via email to