fluent-plugin-systemd 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4bb94640bea41ab8be9a26fd57926f0250763a3
4
- data.tar.gz: 96e856fa32b80a382688e6c31f14433f3ed4fb31
3
+ metadata.gz: 6ef99806c3d56bcdc8988de35331f23cdd1720f2
4
+ data.tar.gz: 6a71459493bbc7a522ffa903d6968749e545057d
5
5
  SHA512:
6
- metadata.gz: 8f3d3abac9dd4ec34cfaf863d5731d83a6e8f92c2c4c47d108800a12ceb42159d785f1763f1cf9dab120be7f4509877b75ba4255edc0f5586f87983d204905f5
7
- data.tar.gz: 90e217ae81cb98ec9c46a73708b4dddaf71b106bf81c3d176462aa0b95cbc2b329205b2f6969960315421ddba1dbead12fcec88daf251012153d3ad10a7605f6
6
+ metadata.gz: 01b4fa6a252a234113b2d94746a08e87f05879f9141f82195235221e20971ba3e4a9c69056fe2d6fcec07dc928f5f28ad0d2d8e454bcee031c6d77b64573647d
7
+ data.tar.gz: 937e956bbeffbe21443c6669ed35cabd17fe0a692468f0c25679fcc2cdae1b971324f7417405c59d715b3250f5dd138818d8790e84fab84dfc40dfbf6fc44c0f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-systemd (0.0.4)
4
+ fluent-plugin-systemd (0.0.5)
5
5
  fluentd (~> 0.12)
6
6
  systemd-journal (~> 1.2)
7
7
 
@@ -66,4 +66,4 @@ DEPENDENCIES
66
66
  test-unit (~> 2.5)
67
67
 
68
68
  BUNDLED WITH
69
- 1.12.5
69
+ 1.13.2
data/README.md CHANGED
@@ -10,15 +10,15 @@
10
10
 
11
11
  Simply use RubyGems:
12
12
 
13
- gem install fluent-plugin-systemd -v 0.0.4
13
+ gem install fluent-plugin-systemd -v 0.0.5
14
14
 
15
15
  or
16
16
 
17
- fluent-gem install fluent-plugin-systemd -v 0.0.4
17
+ fluent-gem install fluent-plugin-systemd -v 0.0.5
18
18
 
19
19
  or
20
20
 
21
- td-agent-gem install fluent-plugin-systemd -v 0.0.4
21
+ td-agent-gem install fluent-plugin-systemd -v 0.0.5
22
22
 
23
23
  ## Configuration
24
24
 
@@ -80,6 +80,7 @@ Issues and pull requests welcome
80
80
 
81
81
  ## Contributors
82
82
 
83
- Many thanks to our wonderful contributors
83
+ Many thanks to our brilliant contributors
84
84
 
85
85
  * [jescarri](https://github.com/jescarri)
86
+ * [mikekap](https://github.com/mikekap)
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "fluent-plugin-systemd"
8
- spec.version = "0.0.4"
8
+ spec.version = "0.0.5"
9
9
  spec.authors = ["Ed Robinson"]
10
10
  spec.email = ["ed@reevoo.com"]
11
11
 
@@ -54,8 +54,13 @@ module Fluent
54
54
  end
55
55
 
56
56
  def run
57
+ Thread.current.abort_on_exception = true
57
58
  watch do |entry|
58
- router.emit(tag, entry.realtime_timestamp.to_i, formatted(entry))
59
+ begin
60
+ router.emit(tag, entry.realtime_timestamp.to_i, formatted(entry))
61
+ rescue => e
62
+ log.error("Exception emitting record: #{e}")
63
+ end
59
64
  end
60
65
  end
61
66
 
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-systemd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,6 +110,7 @@ files:
110
110
  - lib/fluent/plugin/in_systemd.rb
111
111
  - lib/fluent/plugin/systemd/pos_writer.rb
112
112
  - pkg/fluent-plugin-systemd-0.0.3.gem
113
+ - pkg/fluent-plugin-systemd-0.0.4.gem
113
114
  homepage: https://github.com/assemblyline/fluent-plugin-systemd
114
115
  licenses:
115
116
  - MIT