@@ -82,7 +82,7 @@ func (c *baseClientImpl) executeBatchRequest(uriPath, uriQuery string, requests
82
82
}
83
83
84
84
func (c * baseClientImpl ) encodeBatchRequests (requests []* multiRequest ) ([]byte , error ) {
85
- c .logger .Info ("Encoding batch requests to json" , "batch requests" , len (requests ))
85
+ c .logger .Debug ("Encoding batch requests to json" , "batch requests" , len (requests ))
86
86
start := time .Now ()
87
87
88
88
payload := bytes.Buffer {}
@@ -130,7 +130,7 @@ func (c *baseClientImpl) executeRequest(method, uriPath, uriQuery string, body [
130
130
return nil , err
131
131
}
132
132
133
- c .logger .Info ("Executing request" , "url" , req .URL .String (), "method" , method )
133
+ c .logger .Debug ("Executing request" , "url" , req .URL .String (), "method" , method )
134
134
135
135
req .Header .Set ("Content-Type" , "application/x-ndjson" )
136
136
@@ -149,7 +149,7 @@ func (c *baseClientImpl) executeRequest(method, uriPath, uriQuery string, body [
149
149
}
150
150
151
151
func (c * baseClientImpl ) ExecuteMultisearch (r * MultiSearchRequest ) (* MultiSearchResponse , error ) {
152
- c .logger .Info ("Executing multisearch" , "search requests" , r .Requests )
152
+ c .logger .Debug ("Executing multisearch" , "search requests" , r .Requests )
153
153
154
154
multiRequests := c .createMultiSearchRequests (r .Requests )
155
155
queryParams := c .getMultiSearchQueryParameters ()
0 commit comments