fluent-plugin-jvm-gclog 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-jvm-gclog.gemspec +1 -1
- data/lib/fluent/plugin/in_jvm_gclog.rb +5 -1
- 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: 8e20f68ae80e55aa58c34118840d590038de7a1a
|
4
|
+
data.tar.gz: e311efba5eb6a508dc6ec02eeb2f0b0bf0eb0bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5756178360f3c2b89c2da308f6b6092e84632f6b7a319153f8f08f86cc6cb8998b854a6f631c7d5bc61c290d8e580502db503a23f22f179ea6918693267badd0
|
7
|
+
data.tar.gz: 3a76faa6bdfadea546ae0284c529774286e9038dde5cbf026ca8173bb3df69787799e5a102334a219547890b5cb4f14ed4bb3592c9474d211f6dc81c6cb0ee0a
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
15
15
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
16
16
|
gem.require_paths = ["lib"]
|
17
|
-
gem.version = "0.0.
|
17
|
+
gem.version = "0.0.3"
|
18
18
|
gem.add_development_dependency "rake"
|
19
19
|
gem.add_runtime_dependency "fluentd"
|
20
20
|
gem.add_runtime_dependency "jvm_gclog"
|
@@ -59,7 +59,11 @@ class JVMGCLogInput < TailInput
|
|
59
59
|
@tag
|
60
60
|
end
|
61
61
|
begin
|
62
|
-
router
|
62
|
+
if defined? router
|
63
|
+
router.emit_stream(tag, es)
|
64
|
+
else
|
65
|
+
Engine.emit_stream(tag, es)
|
66
|
+
end
|
63
67
|
rescue
|
64
68
|
# ignore errors. Engine shows logs and backtraces.
|
65
69
|
end
|