fluent-plugin-systemd 0.0.8 → 0.0.9

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: 2c916a4987e289cd265209f8fe4ff5548dde671a
4
- data.tar.gz: 2ba1b869f8cc9efa006c02559ea238a4404f65c4
3
+ metadata.gz: 68d94f187b7d98175e4207ec4cd4df9cd6c719f8
4
+ data.tar.gz: a90a29a34e4fffa5f86fa9eb7b55dfb73475c04d
5
5
  SHA512:
6
- metadata.gz: ab17ffe10ba7f10b4decbc1723981c9f806cab8bf6a83a86cec461b7b628acebc68fa001acb597a5ee07f6b808cdd8bb705bf1f5cd25aec0070c2e2230cdd3ef
7
- data.tar.gz: a37e74273f2c7b56755a4b4d4d78a8058ace1b9fe2b1115311a41cb2a6b05710f567d8883f1302c0451a7d138a760f1b1174bf5753fc7fd75278254f902c7ad7
6
+ metadata.gz: 1cd9a9f31c8621a67aab98afffdf9d07bc33eb46bdf83c767e1784ab0e5a6200b7779d60ece513a7a6f6500ea62d333fbe1075d0ba42fa02e1f69bac21e418fc
7
+ data.tar.gz: 2a47373f7b2e52329441713a112bda2364f5710d8301cd2a845f7c436c63dc6855d41d8c42cf554f01b2bbc327123fa25b19a1c998db4725b213fb2d57edb077
data/README.md CHANGED
@@ -26,11 +26,11 @@ if you are using fluentd v0.14 for the latest and greatest features
26
26
 
27
27
  Simply use RubyGems:
28
28
 
29
- gem install fluent-plugin-systemd -v 0.0.7
29
+ gem install fluent-plugin-systemd -v 0.0.9
30
30
 
31
31
  or
32
32
 
33
- td-agent-gem install fluent-plugin-systemd -v 0.0.7
33
+ td-agent-gem install fluent-plugin-systemd -v 0.0.9
34
34
 
35
35
  ## Configuration
36
36
 
@@ -85,7 +85,12 @@ module Fluent
85
85
  while @running
86
86
  init_journal if @journal.wait(0) == :invalidate
87
87
  while @journal.move_next && @running
88
- yield @journal.current_entry
88
+ begin
89
+ yield @journal.current_entry
90
+ rescue Systemd::JournalError => e
91
+ log.warn("Error Parsing Journal: #{e.class}: #{e.message}")
92
+ next
93
+ end
89
94
  @pos_writer.update(@journal.cursor)
90
95
  end
91
96
  # prevent a loop of death
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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.8
128
+ rubygems_version: 2.5.2.1
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Input plugin to read from systemd journal.