fluent-plugin-loggly-anno 0.0.3.pre.d → 0.0.3.pre.e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/fluent-plugin-loggly.gemspec +1 -1
- data/lib/fluent/plugin/out_loggly_buffered.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 961f0b2aa3afc5d067b52ad1fa1f76d2f1099855
|
|
4
|
+
data.tar.gz: 3a251a0e461f50797a2ffd8a7763994efb9d6710
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e558ccd2952197e9510593f0f2f6f754ac6c88a3dcd7d9fff320a8aad0f9adf6555efdb5882f39d17dcdc53a3e7d382c1829eb5c33ff080089f841e5b7429ce4
|
|
7
|
+
data.tar.gz: 338db39dfd44f01b7f87f9a304e3108130d6a0626016a266d6a47dd9e9917a7815cddb6459b8695f810e5483d31bd800e43a41371e58e0dcb455ce8602c10776
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "fluent-plugin-loggly-anno"
|
|
6
|
-
s.version = "0.0.3-
|
|
6
|
+
s.version = "0.0.3-e"
|
|
7
7
|
s.authors = ["Chris Rust"]
|
|
8
8
|
s.email = ["chris.rust@solarwinds.com"]
|
|
9
9
|
s.homepage = "https://github.com/cmrust/fluent-plugin-loggly"
|
|
@@ -91,6 +91,7 @@ class LogglyOutputBuffred < Fluent::BufferedOutput
|
|
|
91
91
|
rescue => e
|
|
92
92
|
err_msg = "Error posting to #{uri}: #{e}"
|
|
93
93
|
# reset http client here
|
|
94
|
+
$log.error "Recreating Net::HTTP::Persistent instance due to #{e.class}"
|
|
94
95
|
@http = Net::HTTP::Persistent.new 'fluentd-plugin-loggly', :ENV
|
|
95
96
|
@http.headers['Content-Type'] = 'text'
|
|
96
97
|
raise ConnectionFailureError, err_msg, e.backtrace
|