log4r-gelf 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/log4r-gelf/gelf_outputter.rb +2 -4
- data/lib/log4r-gelf/version.rb +1 -1
- data/log4r-gelf.gemspec +1 -1
- metadata +15 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6e35e37eae7cc80738891bf088c2d8c873ffdecb
|
4
|
+
data.tar.gz: 4d809ac1dfa1d18b5b68dfe2001989068afe2278
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 984596e50e785d8061d056d5c411d3e841a6b26848335dc78885d9cc982891c1a44b3dcb6b380488754decddd62b114066114ccde70adaf987178c5c2c0b0c51
|
7
|
+
data.tar.gz: 77acc326e22978c0dc0e21d08c49ce82f61a4a9f20be5f1587b1de84af94dbc8884a4cbb980de00cbc94ee8b108bb6d872ca40345d5a353b60ceab65ae6d44ea
|
@@ -93,11 +93,9 @@ module Log4r
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
-
|
97
|
-
opts[:short_message] = format(logevent) unless opts[:short_message]
|
96
|
+
opts[:short_message] = format(logevent) unless opts[:short_message]
|
98
97
|
|
99
|
-
|
100
|
-
end
|
98
|
+
@notifier.notify!(opts)
|
101
99
|
rescue => err
|
102
100
|
puts "Graylog2 logger. Could not send message: " + err.message
|
103
101
|
puts err.backtrace.join("\n") if err.backtrace
|
data/lib/log4r-gelf/version.rb
CHANGED
data/log4r-gelf.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.require_paths = ["lib"]
|
28
28
|
|
29
29
|
s.add_dependency("log4r", '~> 1.1.10')
|
30
|
-
s.add_dependency("gelf", '
|
30
|
+
s.add_dependency("gelf", '>= 1.4.0')
|
31
31
|
|
32
32
|
s.add_development_dependency('rake')
|
33
33
|
s.add_development_dependency('rspec')
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log4r-gelf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matt Conway
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: log4r
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,49 +27,43 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: gelf
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 1.4.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 1.4.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: A Log4r appender for logging to a gelf sink, e.g. the graylog2 server
|
@@ -90,27 +81,26 @@ files:
|
|
90
81
|
- log4r-gelf.gemspec
|
91
82
|
homepage: ''
|
92
83
|
licenses: []
|
84
|
+
metadata: {}
|
93
85
|
post_install_message:
|
94
86
|
rdoc_options: []
|
95
87
|
require_paths:
|
96
88
|
- lib
|
97
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
90
|
requirements:
|
100
|
-
- -
|
91
|
+
- - '>='
|
101
92
|
- !ruby/object:Gem::Version
|
102
93
|
version: '0'
|
103
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
95
|
requirements:
|
106
|
-
- -
|
96
|
+
- - '>='
|
107
97
|
- !ruby/object:Gem::Version
|
108
98
|
version: '0'
|
109
99
|
requirements: []
|
110
100
|
rubyforge_project: log4r-gelf
|
111
|
-
rubygems_version: 1.
|
101
|
+
rubygems_version: 2.1.11
|
112
102
|
signing_key:
|
113
|
-
specification_version:
|
103
|
+
specification_version: 4
|
114
104
|
summary: A Log4r appender for logging to a gelf sink, e.g. the graylog2 server
|
115
105
|
test_files: []
|
116
106
|
has_rdoc:
|