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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 978af580385e80f9a1cb5e743d35e6e014eba01c
|
4
|
+
data.tar.gz: 7065e8650da7f66cbe7957b70c15c9a6b4307d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|