ruby-zipkin 0.2.903 → 0.2.904

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,11 @@ module RubyZipkin extend self
21
21
  @uri_filter_list = uri_filter_list
22
22
  @http_header_filter_list = http_header_filter_list
23
23
  @scribe = Scribe.new("#{scribe_server}:#{scribe_port}")
24
+
25
+ log_file = File.new('/srv/flexd/current/log/stdout.log', 'a')
26
+ logger = Logger.new(log_file, 'weekly')
27
+ $stdout = log_file
28
+
24
29
  puts "using scribe server: #{@scribe.to_s}"
25
30
  puts "#{scribe_server}:#{scribe_port}"
26
31
  ::Trace.tracer = ::Trace::ZipkinTracer.new(Scriber.new(@scribe), scribe_max_buffer)
@@ -39,7 +44,7 @@ module RubyZipkin extend self
39
44
  rescue => e
40
45
  #Tracing errors shouldn't block a request.
41
46
  puts "Zipkin error: #{e} \n #{e.backtrace}"
42
- raise e
47
+ raise end
43
48
  end
44
49
  [@status, @headers, @response]
45
50
  end
@@ -1,3 +1,3 @@
1
1
  module RubyZipkin
2
- VERSION = "0.2.903"
2
+ VERSION = "0.2.904"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zipkin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1817
4
+ hash: 1799
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 903
10
- version: 0.2.903
9
+ - 904
10
+ version: 0.2.904
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ivan Marcin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-10-19 00:00:00 Z
18
+ date: 2013-10-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: finagle-thrift