logjam_agent 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/logjam_agent/rack/logger.rb +4 -2
- data/lib/logjam_agent/version.rb +1 -1
- metadata +19 -19
@@ -52,6 +52,8 @@ module LogjamAgent
|
|
52
52
|
|
53
53
|
def extract_request_info(request)
|
54
54
|
request_info = {}
|
55
|
+
result = { :request_info => request_info }
|
56
|
+
|
55
57
|
filter = request.send(:parameter_filter)
|
56
58
|
|
57
59
|
request_info[:method] = request.method
|
@@ -68,10 +70,10 @@ module LogjamAgent
|
|
68
70
|
request_info[:body_parameters] = body_params unless body_params.empty?
|
69
71
|
end
|
70
72
|
|
71
|
-
|
73
|
+
result
|
72
74
|
rescue Exception
|
73
75
|
Rails.logger.error($!)
|
74
|
-
|
76
|
+
result
|
75
77
|
end
|
76
78
|
|
77
79
|
HIDDEN_VARIABLES = /\A([a-z]|SERVER|PATH|GATEWAY|REQUEST|SCRIPT|REMOTE|QUERY|PASSENGER|DOCUMENT|SCGI|UNION_STATION|ORIGINAL_FULLPATH|RAW_POST_DATA)/o
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|
@@ -15,11 +15,9 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-09-
|
18
|
+
date: 2012-09-28 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name: rake
|
22
|
-
prerelease: false
|
23
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
22
|
none: false
|
25
23
|
requirements:
|
@@ -29,11 +27,11 @@ dependencies:
|
|
29
27
|
segments:
|
30
28
|
- 0
|
31
29
|
version: "0"
|
32
|
-
type: :development
|
33
30
|
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: i18n
|
36
31
|
prerelease: false
|
32
|
+
type: :development
|
33
|
+
name: rake
|
34
|
+
- !ruby/object:Gem::Dependency
|
37
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
36
|
none: false
|
39
37
|
requirements:
|
@@ -43,11 +41,11 @@ dependencies:
|
|
43
41
|
segments:
|
44
42
|
- 0
|
45
43
|
version: "0"
|
46
|
-
type: :development
|
47
44
|
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: activesupport
|
50
45
|
prerelease: false
|
46
|
+
type: :development
|
47
|
+
name: i18n
|
48
|
+
- !ruby/object:Gem::Dependency
|
51
49
|
requirement: &id003 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
51
|
requirements:
|
@@ -57,11 +55,11 @@ dependencies:
|
|
57
55
|
segments:
|
58
56
|
- 0
|
59
57
|
version: "0"
|
60
|
-
type: :runtime
|
61
58
|
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: uuid4r
|
64
59
|
prerelease: false
|
60
|
+
type: :runtime
|
61
|
+
name: activesupport
|
62
|
+
- !ruby/object:Gem::Dependency
|
65
63
|
requirement: &id004 !ruby/object:Gem::Requirement
|
66
64
|
none: false
|
67
65
|
requirements:
|
@@ -71,11 +69,11 @@ dependencies:
|
|
71
69
|
segments:
|
72
70
|
- 0
|
73
71
|
version: "0"
|
74
|
-
type: :runtime
|
75
72
|
version_requirements: *id004
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: time_bandits
|
78
73
|
prerelease: false
|
74
|
+
type: :runtime
|
75
|
+
name: uuid4r
|
76
|
+
- !ruby/object:Gem::Dependency
|
79
77
|
requirement: &id005 !ruby/object:Gem::Requirement
|
80
78
|
none: false
|
81
79
|
requirements:
|
@@ -87,8 +85,10 @@ dependencies:
|
|
87
85
|
- 2
|
88
86
|
- 2
|
89
87
|
version: 0.2.2
|
90
|
-
type: :runtime
|
91
88
|
version_requirements: *id005
|
89
|
+
prerelease: false
|
90
|
+
type: :runtime
|
91
|
+
name: time_bandits
|
92
92
|
description: Logjam logger and request information forwarding
|
93
93
|
email:
|
94
94
|
- stefan.kaes@xing.com
|