bench/lib/bench/logging.rb in rhoconnect-3.1.0.beta1 vs bench/lib/bench/logging.rb in rhoconnect-3.1.0.beta2

- old
+ new

@@ -1,11 +1,9 @@ module Bench module Logging attr_accessor :request_logging def log_prefix - # FIXME: in ruby1.8: "%d" % nil => 0 - # but in ruby 1.9.2: TypeError: can't convert nil into Integer "[T:%03d|I:%03d]" % [@thread_id.to_i, @iteration.to_i] end def bench_log(msg) Rhoconnect.log msg \ No newline at end of file