Skip to content

Commit

Permalink
decrease the level of log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed May 6, 2020
1 parent d89f54f commit 0f52f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/kibana/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (client *Client) ImportJSON(url string, params url.Values, jsonBody map[str

body, err := json.Marshal(jsonBody)
if err != nil {
client.log.Errorf("Failed to json encode body (%v): %#v", err, jsonBody)
client.log.Debugf("Failed to json encode body (%v): %#v", err, jsonBody)
return fmt.Errorf("fail to marshal the json content: %v", err)
}

Expand Down

0 comments on commit 0f52f74

Please sign in to comment.