fluent-plugin-syslog_rfc5424 0.7.2.alpha9 → 0.7.2.alpha10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-syslog_rfc5424.gemspec +1 -1
- data/lib/fluent/plugin/out_syslog_rfc5424.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d409909ecb8ca653204cd579022e5c01f40e5b20
|
4
|
+
data.tar.gz: a41729cee27dcd488d47fe478b18dfe1a2e98312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dea5eaab08c026100330a06163466dff96f627b7d9b36751d7e98dba9b5e4a5358d971df240179cfdf4485a8faa3a2b30245ac7af2ac6831efec8517c0b21d8
|
7
|
+
data.tar.gz: 36163ddbc8db5bc4c443c4f98e7404249f4d3b189cedab104cc81c5b09429249c349031747c213a80abd5a928159360efe2af54746e15e3ab68bd0c196ba1a65
|
@@ -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.alpha10"
|
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,8 +28,8 @@ module Fluent
|
|
28
28
|
tag = chunk.metadata.tag
|
29
29
|
chunk.each do |time, record|
|
30
30
|
begin
|
31
|
-
socket.
|
32
|
-
|
31
|
+
socket.write_nonblock @formatter.format(tag, time, record)
|
32
|
+
IO.select(nil, [socket], nil, 1) || raise("Socket timeout during #{type}"))
|
33
33
|
rescue
|
34
34
|
log.debug("Write Error Recreating Connection")
|
35
35
|
@sockets[socket_key(@transport.to_sym, @host, @port)] = nil
|
@@ -58,7 +58,7 @@ module Fluent
|
|
58
58
|
return {} unless @transport == 'tls'
|
59
59
|
|
60
60
|
# TODO: make timeouts configurable
|
61
|
-
{ insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path, connect_timeout:
|
61
|
+
{ insecure: @insecure, verify_fqdn: !@insecure, cert_paths: @trusted_ca_path, connect_timeout: 1, send_timeout: 1, recv_timeout: 1, linger_timeout: 1 }
|
62
62
|
end
|
63
63
|
|
64
64
|
def socket_key(transport, host, port)
|