gelf 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/CHANGELOG +11 -1
- data/LICENSE +1 -1
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/gelf.gemspec +3 -2
- data/lib/gelf/notifier.rb +1 -1
- metadata +5 -4
data/.gemtest
ADDED
File without changes
|
data/CHANGELOG
CHANGED
@@ -1,4 +1,14 @@
|
|
1
|
-
1.2
|
1
|
+
1.3.2, 2011-12-02:
|
2
|
+
* support for rubygems-test.
|
3
|
+
* rescue from more network errors.
|
4
|
+
|
5
|
+
1.3.1, 2011-10-28:
|
6
|
+
+ allow to rescue from network errors.
|
7
|
+
|
8
|
+
1.3.0, 2011-07-27:
|
9
|
+
+ allow to set timestamp manually.
|
10
|
+
|
11
|
+
1.2.0.beta1, 2011-05-23:
|
2
12
|
+ compatibility with GELF specification 1.0:
|
3
13
|
* requires modern graylog2-server and graylog2-web-interface;
|
4
14
|
+ Notifier#default_options, Notifier#default_options=;
|
data/LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This is the new GELF gem written by Alexey Palazhchenko. It is based on the old gem by Lennart Koopmann and allows you to send GELF messages to Graylog2 server instances. See http://www.graylog2.org/about/gelf for more information about GELF and http://rdoc.info/github/Graylog2/gelf-rb/master/frames for API documentation.
|
4
4
|
|
5
|
-
Works with Ruby 1.8.7 and 1.9.
|
5
|
+
Works with Ruby 1.8.7 and 1.9.x. 1.8.6 is not supported.
|
6
6
|
|
7
7
|
== Note on Patches/Pull Requests
|
8
8
|
|
@@ -15,4 +15,4 @@ Works with Ruby 1.8.7 and 1.9.2. 1.8.6 is not supported.
|
|
15
15
|
|
16
16
|
== Copyright
|
17
17
|
|
18
|
-
Copyright (c) 2010 Lennart Koopmann and Alexey Palazhchenko. See LICENSE for details.
|
18
|
+
Copyright (c) 2010-2011 Lennart Koopmann and Alexey Palazhchenko. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
data/gelf.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gelf"
|
8
|
-
s.version = "1.3.
|
8
|
+
s.version = "1.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Alexey Palazhchenko", "Lennart Koopmann"]
|
12
|
-
s.date = "2011-
|
12
|
+
s.date = "2011-12-02"
|
13
13
|
s.description = "Library to send GELF messages to Graylog2 logging server. Supports plain-text, GELF messages and exceptions."
|
14
14
|
s.email = "alexey.palazhchenko@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
+
".gemtest",
|
20
21
|
".travis.yml",
|
21
22
|
"CHANGELOG",
|
22
23
|
"LICENSE",
|
data/lib/gelf/notifier.rb
CHANGED
@@ -129,7 +129,7 @@ module GELF
|
|
129
129
|
private
|
130
130
|
def notify_with_level(message_level, *args)
|
131
131
|
notify_with_level!(message_level, *args)
|
132
|
-
rescue SocketError
|
132
|
+
rescue SocketError, SystemCallError
|
133
133
|
raise unless self.rescue_network_errors
|
134
134
|
rescue Exception => exception
|
135
135
|
notify_with_level!(GELF::UNKNOWN, exception)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gelf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 2
|
10
|
+
version: 1.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexey Palazhchenko
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-12-02 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: json
|
@@ -70,6 +70,7 @@ extra_rdoc_files:
|
|
70
70
|
- LICENSE
|
71
71
|
- README.rdoc
|
72
72
|
files:
|
73
|
+
- .gemtest
|
73
74
|
- .travis.yml
|
74
75
|
- CHANGELOG
|
75
76
|
- LICENSE
|