fluent-plugin-syslog_rfc5424 0.7.2.alpha11 → 0.7.2
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: 7e904557320502d2ad3c0ef6e191f86d975db51e
|
4
|
+
data.tar.gz: 108731169366146f496c5fde50e48d732f3e5754
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d833f7032c2c86b22e9b6dac5655af28f80f2a346c4c2a051b6af5150c6e80dfa82d3314aaebc630e364da87f59c778979ed7f2bc77a4fe6b1bb1abebde27dec
|
7
|
+
data.tar.gz: a11a9ad57de818c8bba185070f838b8ed24646e6650e242f880e08e7745239728ac5643328ef673688fd2a9c4614208bf72f5e25bdd896d8443627233e749b57
|
@@ -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
|
7
|
+
spec.version = "0.7.2"
|
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"
|
@@ -28,12 +28,9 @@ module Fluent
|
|
28
28
|
tag = chunk.metadata.tag
|
29
29
|
chunk.each do |time, record|
|
30
30
|
begin
|
31
|
-
socket.
|
32
|
-
IO.select(nil, [socket], nil, 1) || raise("Socket timeout during write")
|
31
|
+
socket.write @formatter.format(tag, time, record)
|
33
32
|
rescue
|
34
|
-
log.debug("Write Error Recreating Connection")
|
35
33
|
@sockets[socket_key(@transport.to_sym, @host, @port)] = nil
|
36
|
-
socket.close
|
37
34
|
raise
|
38
35
|
end
|
39
36
|
end
|
@@ -57,8 +54,7 @@ module Fluent
|
|
57
54
|
def socket_options
|
58
55
|
return {} unless @transport == 'tls'
|
59
56
|
|
60
|
-
|
61
|
-
{ insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path, connect_timeout: 1, send_timeout: 1, recv_timeout: 1, linger_timeout: 1 }
|
57
|
+
{ insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path }
|
62
58
|
end
|
63
59
|
|
64
60
|
def socket_key(transport, host, port)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -145,9 +145,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
|
-
- - "
|
148
|
+
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
153
|
rubygems_version: 2.6.13
|