fluent-plugin-syslog_rfc5424 0.7.2.alpha4 → 0.7.2.alpha5

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: 58d1e3b0815df5fae877c148287e9fd9cd369874
4
- data.tar.gz: 15132c82ce77c57fdd9eb932b843993bf8b26df3
3
+ metadata.gz: eefa9c012dd8ab62cb23de38712bd1921e58ecba
4
+ data.tar.gz: 8b7f35848600cb3f577229530e97fda47d54178b
5
5
  SHA512:
6
- metadata.gz: 215529f999d393cc1115cedd02cb3bc86122866ca009264b4924f6a6e55e0f593068cfa16f1297707f7da3d19a329453a8dd4ca4f599d4c30c14463dc0d6e957
7
- data.tar.gz: bceccb757fd542b373a9f4333f23138edcbbedf2502774b8d7c49f7bbd9103c9963c4de379f39ecfec9fdd26d3c7e5f5c49d75e723719d18025d39a73756b9f6
6
+ metadata.gz: 9b4545bfa954cbf7eb8f614401b791e4a5fc5e285a014c68f57668e034a269c601089167601dd3089d780f18b8d4c756da930592c7da982d6a78ab060c24dd8c
7
+ data.tar.gz: 0664ed401af33aa9d2989527d998fba1c38e4c656c63eee80a90d12aa3e55851681c6363126a7edfae9ea8dd3237bb773cdb1405eb0b69af472ce933906d6151
@@ -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.7.2.alpha4"
7
+ spec.version = "0.7.2.alpha5"
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"
@@ -16,9 +16,6 @@ module Fluent
16
16
  end
17
17
 
18
18
  def format(tag, time, record)
19
- log.debug("Tag")
20
- log.debug(tag.to_s)
21
-
22
19
  log.debug("Record")
23
20
  log.debug(record.map { |k, v| "#{k}=#{v}" }.join('&'))
24
21
 
@@ -30,6 +30,7 @@ module Fluent
30
30
  begin
31
31
  socket.write @formatter.format(tag, time, record)
32
32
  rescue
33
+ log.debug("Write Error Recreating Connection")
33
34
  @sockets[socket_key(@transport.to_sym, @host, @port)] = nil
34
35
  socket.close
35
36
  raise
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.7.2.alpha4
4
+ version: 0.7.2.alpha5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal