lib/midori/server.rb in em-midori-0.1.12 vs lib/midori/server.rb in em-midori-0.2.0
- old
+ new
@@ -41,10 +41,10 @@
end
now_time = Time.now
@logger.info "#{@request.ip} - - \"#{@request.method} #{@request.path} HTTP/#{@request.protocol.join('.')}\" #{@response.status} #{(now_time.to_f - start_time.to_f).round(6)}".green
rescue
close_connection
- @logger.error "#{@request.ip} - - Reached an EOF Error".red
+ @logger.warn "#{@request.ip} - - Reached an EOF Error".yellow
end
end)
end.call
end