fluent-plugin-syslog 0.1.11 → 0.1.12

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: ecbb970d30b2b97c3e530c1d2b890aec055c447f
4
- data.tar.gz: 649ec2350c3a02f21b45de9b21f1702e6f2cb3ff
3
+ metadata.gz: 59af5f0be8124f8ca8b6aa2ffb0b37aa59abc4ef
4
+ data.tar.gz: 36661e1e521536649c05e8060b3871c5b8eecc23
5
5
  SHA512:
6
- metadata.gz: 764423466fe2b285121d6b808878bd96a9423fc231272f9e74f7b8a1cdb50090e7120f7bbde911e6da8f2bbbbff5abb68a3aad5b4425fbf9573bcd87d2564505
7
- data.tar.gz: c0de5ebd99e2d16aa626b0a08b50e83e5a823d1bdda43c47ec29997ab13acb3eec1d4f41702ee905939363fd88ac138d5a9cc2e28951344a702bc0c69f70c8d7
6
+ metadata.gz: f88389d2cf88c8d49f55bf8248f37b86b6136d0abaf03594a57237ead358caf43d8c241cdb83f213b6820d619e6e6d209cc0230e5521d34d47a4b7b13484362e
7
+ data.tar.gz: a0db47c217a8988c6695d83acd3a7184ffcd72ae75f32ba62853d9133ac8159c42dad74999bd6fada51aea97f551391c07cc2c1b94b23c735d6ac816ae93cb34
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-syslog"
7
- spec.version = "0.1.11"
7
+ spec.version = "0.1.12"
8
8
  spec.authors = ["Aaron Collins"]
9
9
  spec.email = ["aaron.collins@hiremya.com"]
10
10
 
@@ -87,12 +87,12 @@ module Fluent
87
87
  end
88
88
  end
89
89
 
90
- if @parse_json && record.dig('message')
90
+ if @parse_json
91
91
  begin
92
92
  parser = Yajl::Parser.new
93
93
  parsed_message = parser.parse(record['message'])
94
94
  record.merge(parsed_message)
95
- log.debug "Parsing JSON Log #{parsed_message}"
95
+ log.warn "Parsing JSON Log #{record}"
96
96
  rescue Yajl::ParseError
97
97
  end
98
98
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Collins