bench/lib/bench/logging.rb in rhoconnect-3.0.5 vs bench/lib/bench/logging.rb in rhoconnect-3.0.6
- old
+ new
@@ -1,6 +1,8 @@
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
\ No newline at end of file