telecaster 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/telecaster.rb +1 -1
  2. metadata +2 -2
@@ -45,7 +45,7 @@ class Telecaster
45
45
  multi.callback do |response|
46
46
  duration = ((Time.now.to_f - start) * 1000).round
47
47
  summary = response.map { |r| '[' + [r['host'], r['status'] || '-', r['duration'] || '-'] * ' ' + ']' }
48
- @logger.info "#{env['REQUEST_METHOD']} #{env['REQUEST_URI']} backends:#{response.size} duration:#{duration} #{summary * ' '}"
48
+ @logger.info "#{env['REQUEST_METHOD']} #{env['REQUEST_URI']} \"#{args[:body]}\" backends:#{response.size} duration:#{duration} #{summary * ' '}"
49
49
 
50
50
  json = Yajl::Encoder.encode(response, :pretty => true, :indent => ' ')
51
51
  callback.call [200, {'Content-Type' => TYPE_JSON}, [json]]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telecaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-20 00:00:00.000000000 Z
12
+ date: 2012-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: em-http-request