fluentd-plugin-grafana-loki: change log.info to log.debug (#751)

Reduces background chatter which in turn can trigger more log writes

Signed-off-by: Brian Candler <b.candler@pobox.com>
pull/757/head
Brian Candler 6 years ago committed by Cyril Tovena
parent 9d5630d875
commit 662ef3272a
  1. 2
      fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb

@ -97,7 +97,7 @@ module Fluent
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

Loading…
Cancel
Save