spec/support/logging.rb in zk-0.9.1 vs spec/support/logging.rb in zk-1.0.0.rc.1
- old
+ new
@@ -1,6 +1,7 @@
module ZK
- LOG_FILE = File.open(File.join(ZK::ZK_ROOT, 'test.log'), 'a').tap { |f| f.sync = true }
+# LOG_FILE = File.open(File.join(ZK::ZK_ROOT, 'test.log'), 'a').tap { |f| f.sync = true }
+ LOG_FILE = File.join(ZK::ZK_ROOT, 'test.log')
# LOG_FILE = $stderr
end
ZK.logger = Logger.new(ZK::LOG_FILE).tap { |log| log.level = Logger::DEBUG }