rack-logstash 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/logstash/transport.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6194bf38754cc2bd1e2a4f710f849062700bbef
|
4
|
+
data.tar.gz: caa4203aefbdd9693a534c699d5cad7663455df8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf5e13fa9c69cce9f5047d7b7cc7b0a753cfb4a1af861c1061bbb046d3683b13a2f4ee5dd862b1ebb365cc0f05caa2e69d2863e90a2d674172c3abd28cca6b3
|
7
|
+
data.tar.gz: e7381665d393fd83333cc7b612ee76b9cc912daa4db3eb9b01f5826ad3945cc3b1af503a5a1bae914234d6bd18c176bcd1b6069428baa01205e6c678bb9585a2
|
@@ -41,8 +41,8 @@ module Rack
|
|
41
41
|
end
|
42
42
|
Thread.stop
|
43
43
|
rescue Exception => ex
|
44
|
-
puts "sender_thread died! #{ex.message} (#{ex.class})"
|
45
|
-
puts ex.backtrace.map { |l| " #{l}" }
|
44
|
+
@stderr.puts "sender_thread died! #{ex.message} (#{ex.class})"
|
45
|
+
$stderr.puts ex.backtrace.map { |l| " #{l}" }
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
@@ -52,7 +52,7 @@ module Rack
|
|
52
52
|
begin
|
53
53
|
@socket ||= TCPSocket.new(host, port)
|
54
54
|
rescue Errno::ECONNREFUSED, Errno::ETIMEDOUT => ex
|
55
|
-
puts "#{ex.class}... retrying"
|
55
|
+
$stderr.puts "rack-logstash: #{ex.class} while attempting to connect to #{host}:#{port}... retrying"
|
56
56
|
sleep 0.1
|
57
57
|
retry
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-logstash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|