logstash-input-http 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 731af632fa9046586cf1544f3bb4ecc6ba7d2cfc
4
- data.tar.gz: 9997cb556b8a29c16c4508309f332c243a62db7e
3
+ metadata.gz: 3b6df5f5ebcf0f2172c269e953c2549cbeef495e
4
+ data.tar.gz: 99c89fba08c7c9c99ef8ac437eef42c2cc063b41
5
5
  SHA512:
6
- metadata.gz: a059a44c588db47b9697d7b8f90b1c10e60b9fad6e2e74b672343d6c1bc8afa136dd590cbd18d381f6fe3ce0ebb6204e3244b52defd4a7db99ad3ba42dad6d93
7
- data.tar.gz: a88b160b0ced724c648439793833b8eda3bec1234b933046767edc8bfd4a671f3153fe0e81cab6e43a43c110107de32c710fc5143033576372ab25f70f7083d6
6
+ metadata.gz: 045de7cd58937dfb729f186cd391dda8cde60437a49d4c0f37d6f3701475dd1d9263195a9cf2a981446e06a5fb79c52288e94550c8c75767eec73adab033adfe
7
+ data.tar.gz: 46ef7af956b61165ab0deeada236a52bbfb203fabfff5e678602f5922cc2bec243725a3afa8d19d9665df87ebc7d58f2c90cb57df40815a06011a9e1fbe072c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
+ ## 3.0.4
2
+ - Improve error logging to log more details, including stack trace, for true bugs.
3
+ This makes debugging broken codecs much easier.
1
4
  ## 3.0.3
2
5
  - Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
3
-
4
6
  ## 3.0.2
5
7
  - Use a new class as redefined Puma::Server class as we need to mock one method and only need it for this plugin, but not for all parts using puma in logstash.Fixes https://github.com/logstash-plugins/logstash-input-http/issues/51.
6
8
  ## 3.0.1
@@ -145,7 +145,13 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
145
145
  end
146
146
  ['200', @response_headers, ['ok']]
147
147
  rescue => e
148
- @logger.error("unable to process event #{req.inspect}. exception => #{e.inspect}")
148
+ @logger.error(
149
+ "unable to process event.",
150
+ :request => req,
151
+ :message => e.message,
152
+ :class => e.class.name,
153
+ :backtrace => e.backtrace
154
+ )
149
155
  ['500', @response_headers, ['internal error']]
150
156
  end
151
157
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-http'
3
- s.version = '3.0.3'
3
+ s.version = '3.0.4'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Logstash Input plugin that receives HTTP requests"
6
6
  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"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.6.3
175
+ rubygems_version: 2.4.8
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Logstash Input plugin that receives HTTP requests