Skip to content

Commit

Permalink
fluentd-plugin-grafana-loki: change log.info to log.debug (#751)
Browse files Browse the repository at this point in the history
Reduces background chatter which in turn can trigger more log writes

Signed-off-by: Brian Candler <b.candler@pobox.com>
  • Loading branch information
candlerb authored and cyriltovena committed Jul 15, 2019
1 parent 9d5630d commit 662ef32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def write(chunk)
opts = {
use_ssl: uri.scheme == 'https'
}
log.info "sending #{req.body.length} bytes"
log.debug "sending #{req.body.length} bytes to loki"
res = Net::HTTP.start(uri.hostname, uri.port, **opts) { |http| http.request(req) }
unless res && res.is_a?(Net::HTTPSuccess)
res_summary = if res
Expand Down

0 comments on commit 662ef32

Please sign in to comment.