Skip to content

Commit

Permalink
Version 0.0.11
Browse files Browse the repository at this point in the history
Backports the fix from #67
  • Loading branch information
errm committed Jun 12, 2018
1 parent 6c8ca10 commit ade5d30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ if you are using fluentd v0.14 for the latest and greatest features

Simply use RubyGems:

gem install fluent-plugin-systemd -v 0.0.9
gem install fluent-plugin-systemd -v 0.0.11

or

td-agent-gem install fluent-plugin-systemd -v 0.0.9
td-agent-gem install fluent-plugin-systemd -v 0.0.11

## Configuration

Expand Down
4 changes: 2 additions & 2 deletions fluent-plugin-systemd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
spec.name = "fluent-plugin-systemd"
spec.version = "0.0.10"
spec.version = "0.0.11"
spec.authors = ["Ed Robinson"]
spec.email = ["ed@reevoo.com"]

Expand All @@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "test-unit", "~> 2.5"

spec.add_runtime_dependency "fluentd", "~> 0.12"
spec.add_runtime_dependency "systemd-journal", "~> 1.3"
spec.add_runtime_dependency "systemd-journal", "~> 1.3.2"
end
3 changes: 0 additions & 3 deletions lib/fluent/plugin/in_systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ def shutdown
def init_journal
@journal.close if @journal
@journal = Systemd::Journal.new(path: @path)
# make sure initial call to wait doesn't return :invalidate
# see https://github.com/ledbettj/systemd-journal/issues/70
@journal.wait(0)
@journal.filter(*@filters)
seek
end
Expand Down

0 comments on commit ade5d30

Please sign in to comment.