logstash-filter-exceptioncategory 0.1.77 → 0.1.78

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: 3bfb7a473a945c068cf397cf594149ca616fe43f
4
- data.tar.gz: a0b01c4c7b2412d19eb0c4ac5d7c3523e81ba956
3
+ metadata.gz: 26110247a453ddaccfd9a7732303e2843c19f514
4
+ data.tar.gz: de3622a0c7ba9a35f7e7705846f35935f758aca1
5
5
  SHA512:
6
- metadata.gz: 0caf506cea97b1cc2ffa1daf5f9bf7421a2826678d784c73f5d843ae86e126f8ff358b1c370d85d70110139772c115f3bb467210849043d3eb74234d66165484
7
- data.tar.gz: 7704d739c52929c6ffbc0ce2b83c08a668dc06167afc2e9b17ad9dac5878e972e932000cbb7f3b6613f8226eb0ce5404ceeb914b3f1ad686180da741b3ef969c
6
+ metadata.gz: 6dd28dcec7e6d29a7806463de12564d434e9429d5d8742bb5757b021a3c5d44eba12c2239afb003976f320631690984b5560c95dae74b1ee8eef9c25057d49cd
7
+ data.tar.gz: ed2e2f97f5c2166c9cf1fadb69837b0717a85cab63675bdf22cf07066bc2ff64a2a51bb85e991167e8c7d195ba36808c0bd9c47407307cad03536c94cce54329
@@ -27,8 +27,8 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
27
27
  public
28
28
  def filter(event)
29
29
  categories = @Exceptions["Exceptions"]
30
- @logger.debug("event is now: #{event}")
31
- @logger.debug("event.fields is now: #{event.fields}")
30
+ @logger.debug? && @logger.debug("Event received", :event => event)
31
+ @logger.debug? && @logger.debug("Event json", :event => event.to_json)
32
32
 
33
33
  if(event.include?("SagaException"))
34
34
  if(event["SagaException"].include?("Exception"))
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'logstash-filter-exceptioncategory'
5
- s.version = '0.1.77'
5
+ s.version = '0.1.78'
6
6
  s.licenses = ['Apache-2.0']
7
7
  s.summary = "Categorizes exceptions"
8
8
  s.description = "Fetches a remote json file which includes categorization of exceptions. Uses that categorization to attach a category to an event depending on which exception the event has."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-exceptioncategory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.77
4
+ version: 0.1.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ragnar Adolf Árnason