logworm_client 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/lib/logworm_client/rack.rb +2 -1
- data/lib/logworm_client/rails.rb +2 -1
- data/logworm_client.gemspec +2 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/lib/logworm_client/rack.rb
CHANGED
@@ -24,7 +24,8 @@ module Logworm
|
|
24
24
|
:request_path => env['REQUEST_PATH'], :request_ip => env['REMOTE_ADDR'],
|
25
25
|
:request_method => env['REQUEST_METHOD'], :input => collect_input(env),
|
26
26
|
:response_status => status,
|
27
|
-
:profiling => appTime
|
27
|
+
:profiling => appTime,
|
28
|
+
:queue_size => env['HTTP_X_HEROKU_QUEUE_DEPTH'] || '-1'}) if @log_requests_short
|
28
29
|
begin
|
29
30
|
Timeout::timeout(1) {
|
30
31
|
sent = 0
|
data/lib/logworm_client/rails.rb
CHANGED
@@ -39,7 +39,8 @@ if defined?(ActionController)
|
|
39
39
|
{:summary => "#{env['REQUEST_METHOD']} #{env['REQUEST_URI']} - #{status} #{appTime}",
|
40
40
|
:request => env_to_log(env).merge({:input => request.request_parameters}),
|
41
41
|
:response => {:status => status, :headers => response.headers},
|
42
|
-
:profiling => appTime
|
42
|
+
:profiling => appTime,
|
43
|
+
:queue_size => env['HTTP_X_HEROKU_QUEUE_DEPTH'] || '-1'}) if @@log_requests_long
|
43
44
|
Logworm::Logger.log(:web_log,
|
44
45
|
{:summary => "#{env['REQUEST_METHOD']} #{env['REQUEST_URI']} - #{status} #{appTime}",
|
45
46
|
:request_path => env['REQUEST_URI'], :request_ip => env['REMOTE_ADDR'],
|
data/logworm_client.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{logworm_client}
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Pomelo, LLC"]
|
9
|
-
s.date = %q{2010-04-
|
9
|
+
s.date = %q{2010-04-07}
|
10
10
|
s.description = %q{logworm client utilities}
|
11
11
|
s.email = %q{schapira@pomelollc.com}
|
12
12
|
s.executables = ["lw-compute", "lw-tail"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 5
|
9
|
+
version: 0.5.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pomelo, LLC
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-07 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|