logstash-output-jdbc 0.2.6.rc1 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/logstash/outputs/jdbc.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b88f25634e6067acc5b2bcd6bae08adae1f62a5f
|
4
|
+
data.tar.gz: 6ebea2d9323ca3bae2b734b245920d026ea51709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf46d1ecbdc8b5db28325b698385a17e742a158499b005a39ead100e86183c3a368a5cd93bf03d91d018f02a110b4b79d5064d485a02bbb95068fba1398fa532
|
7
|
+
data.tar.gz: fe60eb738931dc120e2a10323548f5bad8de45945e3d1d8d3e09d7eac94e55cf5190b78c3b5a1f078bc264fec272e583ccbce9f9487cc169df97f5728821bda7
|
data/README.md
CHANGED
@@ -18,10 +18,11 @@ particular location. Please ensure you read the 4 installation lines below.
|
|
18
18
|
See CHANGELOG.md
|
19
19
|
|
20
20
|
## Versions
|
21
|
-
Released versions are
|
21
|
+
Released versions are available via rubygems, and typically tagged.
|
22
22
|
|
23
23
|
For development:
|
24
|
-
- See master branch for logstash
|
24
|
+
- See master branch for logstash v5
|
25
|
+
- See v2.x branch for logstash v2
|
25
26
|
- See v1.5 branch for logstash v1.5
|
26
27
|
- See v1.4 branch for logstash 1.4
|
27
28
|
|
@@ -277,12 +277,12 @@ class LogStash::Outputs::Jdbc < LogStash::Outputs::Base
|
|
277
277
|
statement
|
278
278
|
end
|
279
279
|
|
280
|
-
def log_jdbc_exception(
|
281
|
-
|
280
|
+
def log_jdbc_exception(exception)
|
281
|
+
current_exception = exception
|
282
282
|
loop do
|
283
|
-
@logger.error("JDBC Exception encountered: Will automatically retry.", :exception =>
|
284
|
-
|
285
|
-
break if
|
283
|
+
@logger.error("JDBC Exception encountered: Will automatically retry.", :exception => current_exception)
|
284
|
+
current_exception = current_exception.getNextException()
|
285
|
+
break if current_exception == nil
|
286
286
|
end
|
287
287
|
end
|
288
288
|
end # class LogStash::Outputs::jdbc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-jdbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.6
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- the_angry_angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
@@ -107,9 +107,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- - '
|
110
|
+
- - '>='
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
112
|
+
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
115
|
rubygems_version: 2.0.14.1
|