rack-detailed_request_logger 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/rack-detailed_request_logger.gemspec +2 -2
- metadata +4 -4
data/README.md
CHANGED
@@ -4,7 +4,12 @@ rack-detailed_request_logger
|
|
4
4
|
|
5
5
|
Usage
|
6
6
|
-----
|
7
|
-
require "rack/
|
7
|
+
require "rack/detailed_request_logger"
|
8
8
|
|
9
9
|
logger = Logger.new("log/app.log")
|
10
|
-
use Rack::DetailedRequestLogger, logger
|
10
|
+
use Rack::DetailedRequestLogger, logger
|
11
|
+
|
12
|
+
Sample Output
|
13
|
+
-------------
|
14
|
+
I, [2010-10-07T10:59:58.072869 #1523] INFO -- : From IP: 127.0.0.1, To: POST /docs, Raw POST Data: YOYO=KK
|
15
|
+
I, [2010-10-07T11:00:01.853890 #1523] INFO -- : From IP: 127.0.0.1, To: GET /docs, Raw POST Data:
|
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "rack-detailed_request_logger"
|
8
8
|
gem.summary = %Q{Log requests to your rack app along with the raw post data}
|
9
|
-
gem.description = %Q{
|
9
|
+
gem.description = %Q{Log requests to your rack app along with the raw post data}
|
10
10
|
gem.email = "mail@matthewfawcett.co.uk"
|
11
11
|
gem.homepage = "http://github.com/mattfawcett/rack-detailed_request_logger"
|
12
12
|
gem.authors = ["Matt Fawcett"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rack-detailed_request_logger}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Fawcett"]
|
12
12
|
s.date = %q{2010-10-07}
|
13
|
-
s.description = %q{
|
13
|
+
s.description = %q{Log requests to your rack app along with the raw post data}
|
14
14
|
s.email = %q{mail@matthewfawcett.co.uk}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-detailed_request_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Fawcett
|
@@ -19,7 +19,7 @@ date: 2010-10-07 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
22
|
-
description:
|
22
|
+
description: Log requests to your rack app along with the raw post data
|
23
23
|
email: mail@matthewfawcett.co.uk
|
24
24
|
executables: []
|
25
25
|
|