fluent-plugin-syslog_rfc5424 0.5.2 → 0.5.3

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: c2bed35d8abefd1c17302a5a92d8cd7ac7f5d25d
4
- data.tar.gz: a3d2271fb9fe57e9cc346fbcc0c758cf71a0e299
3
+ metadata.gz: 978af580385e80f9a1cb5e743d35e6e014eba01c
4
+ data.tar.gz: 7065e8650da7f66cbe7957b70c15c9a6b4307d15
5
5
  SHA512:
6
- metadata.gz: 74316e16c552f1823e0678342ff6f9439336fb3a1b12bc9ace40ac0792343101b39a2f23498f4b6512b0d1f9badb5ef4dcb73fc790c911e3adeedb4bc324efce
7
- data.tar.gz: '073509edc9d37be3ab37a92a07a0634af90204e2e2badc58f0dbd91fabdbb4cad8317ea6c4b23c3808fd8dc6e8f1220a7d94c9095f7892505a8b256fba507981'
6
+ metadata.gz: 27d241fa27e04065e6e7d4296a4c1a1c7e8d57f28b9f9c532a430e99740e4dbb5c3b22b309093347997966877867286c5e3e8e5d4663c00768b66bf9ef4f6d85
7
+ data.tar.gz: 3e59568aa8b186c7cbc3441084399a41cfbbb6275f9deca84890c0646a5e36e7d7ccf8d4fee844b2b868e4e9c1d7dcfbc143dc9a23c67be8a88d25d52a206327
@@ -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_rfc5424"
7
- spec.version = "0.5.2"
7
+ spec.version = "0.5.3"
8
8
  spec.authors = ["Pivotal"]
9
9
  spec.email = %w(cf-loggregator@pivotal.io)
10
10
  spec.homepage = "https://github.com/cloudfoundry/fluent-plugin-syslog_rfc5424"
@@ -8,6 +8,10 @@ module Fluent
8
8
  config_param :rfc6587_message_size, :bool, default: false
9
9
 
10
10
  def format(tag, time, record)
11
+ log.debug("Tag")
12
+ log.debug(tag.to_s)
13
+
14
+ log.debug("Record")
11
15
  log.debug(record.map { |k, v| "#{k}=#{v}" }.join('&'))
12
16
 
13
17
  msg = RFC5424::Formatter.format(
@@ -17,6 +21,7 @@ module Fluent
17
21
  proc_id: 'instance-id'
18
22
  )
19
23
 
24
+ log.debug("RFC 5424 Message")
20
25
  log.debug(msg)
21
26
 
22
27
  return msg unless @rfc6587_message_size
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog_rfc5424
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal