graylog2_exceptions 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/graylog2_exceptions.gemspec +1 -1
- data/lib/graylog2_exceptions.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('graylog2_exceptions', '0.5.
|
5
|
+
Echoe.new('graylog2_exceptions', '0.5.2') do |p|
|
6
6
|
p.description = "A Rack middleware that sends every Exception as GELF message to your Graylog2 server"
|
7
7
|
p.url = 'http://www.graylog2.org/'
|
8
8
|
p.author = 'Lennart Koopmann'
|
data/graylog2_exceptions.gemspec
CHANGED
data/lib/graylog2_exceptions.rb
CHANGED
@@ -31,7 +31,7 @@ class Graylog2Exceptions
|
|
31
31
|
|
32
32
|
def send_to_graylog2 err
|
33
33
|
begin
|
34
|
-
gelf =
|
34
|
+
gelf = Gelf.new @gl2_hostname, @gl2_port
|
35
35
|
gelf.short_message = err.message
|
36
36
|
gelf.full_message = err.backtrace.join("\n")
|
37
37
|
gelf.level = @level
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graylog2_exceptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 2
|
10
|
+
version: 0.5.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lennart Koopmann
|