Skip to content

Commit

Permalink
Error handling: Show data stream at "debug" level, not "warn" (#1811)
Browse files Browse the repository at this point in the history
* Avoid dumping the whole stream at warn level when upstream unavailable

Signed-off-by: JamesJJ <[email protected]>

* Version 1.2.10

Signed-off-by: JamesJJ <[email protected]>
  • Loading branch information
JamesJJ authored Mar 17, 2020
1 parent ca19683 commit 844c54b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)

Gem::Specification.new do |spec|
spec.name = 'fluent-plugin-grafana-loki'
spec.version = '1.2.9'
spec.version = '1.2.10'
spec.authors = %w[woodsaj briangann cyriltovena]
spec.email = ['[email protected]', '[email protected]', '[email protected]']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def write(chunk)
'res=nil'
end
log.warn "failed to #{req.method} #{@uri} (#{res_summary})"
log.warn Yajl.dump(body)
log.debug Yajl.dump(body)

end
end
Expand Down

0 comments on commit 844c54b

Please sign in to comment.