From 662ef3272adb7578855fc2b463bfd158a10a201c Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Mon, 15 Jul 2019 13:29:17 +0100 Subject: [PATCH] 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 --- .../fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb b/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb index d0f5c28a9bdc5..6a5c4123d0954 100644 --- a/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb +++ b/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb @@ -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