fluent-plugin-airbrake-python 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_airbrake_python.rb +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28b0784c5ccaa56110dc027981366f8b72e8dbff
|
4
|
+
data.tar.gz: 2e6b222eac25217401a6c161bcc8c77c7e6b9db6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78cc6df0ccff5dae68a59a4094e197c9079483a9099ada9d0f0cf71f6058f463bdb96e8b254c153f658575be5f9fd4b47d9167d819be697806fdcb50f0999690
|
7
|
+
data.tar.gz: a81cbaab9515d316813fa245be498b1f28c4ec47cf0b79eadd99cf4c75d0eb62a6222286265061cdd96164252fb8edbc4ef0984a57b0ac48d58e62d7c14e0b42
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1
|
1
|
+
0.1.1
|
@@ -109,7 +109,7 @@ class Fluent::AirbrakePythonOutput < Fluent::Output
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def notification_needed(tag, time, record)
|
112
|
-
record['sys_levelno'] >= @loglevel
|
112
|
+
record['sys_levelno'] ? record['sys_levelno'] >= @loglevel: false
|
113
113
|
end
|
114
114
|
|
115
115
|
def build_component_name_py(record)
|
@@ -121,7 +121,11 @@ class Fluent::AirbrakePythonOutput < Fluent::Output
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def build_message_py(record)
|
124
|
-
record['message']
|
124
|
+
if record['message']
|
125
|
+
record['message'].sub(@message_regexp, @message_template)
|
126
|
+
else
|
127
|
+
nil
|
128
|
+
end
|
125
129
|
end
|
126
130
|
|
127
131
|
def build_cgi_data_dump(record)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-airbrake-python
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moriyoshi Koizumi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.0.
|
73
|
+
rubygems_version: 2.0.14
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Airbrake (Python) plugin for Fluentd
|