Skip to content

Commit

Permalink
In Logstash 8.0 the SHUTDOWN event is removed and was deprecated/not …
Browse files Browse the repository at this point in the history
…used since Logstash 5.0, remove it.
  • Loading branch information
andsel committed Feb 11, 2021
1 parent f2509ca commit b250af6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.1.8
- Fix: dropped usage of SHUTDOWN event deprecated since Logstash 5.0 [#31](https://github.com/logstash-plugins/logstash-output-lumberjack/pull/31)

## 3.1.7
- Docs: Set the default_codec doc attribute.

Expand Down
1 change: 0 additions & 1 deletion lib/logstash/outputs/lumberjack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def register

public
def receive(event)
return if event == LogStash::SHUTDOWN
@codec.encode(event)
end # def receive

Expand Down
2 changes: 1 addition & 1 deletion logstash-output-lumberjack.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|

s.name = 'logstash-output-lumberjack'
s.version = '3.1.7'
s.version = '3.1.8'
s.licenses = ['Apache License (2.0)']
s.summary = "Sends events using the `lumberjack` protocol"
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
Expand Down
2 changes: 1 addition & 1 deletion spec/outputs/lumberjack_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# encoding: utf-8
require "logstash/devutils/rspec/spec_helper"
require "logstash/outputs/lumberjack"
require "logstash/errors"
require "logstash/event"
require "logstash/devutils/rspec/spec_helper"
require "lumberjack/server"
require "flores/pki"
require "stud/temporary"
Expand Down

0 comments on commit b250af6

Please sign in to comment.