lib/falcon/verbose.rb in falcon-0.19.6 vs lib/falcon/verbose.rb in falcon-0.20.0
- old
+ new
@@ -44,10 +44,10 @@
statistics = Async::HTTP::Statistics.start
response = super
statistics.wrap(response) do |statistics, error|
- @logger.info(request.authority) {"#{statistics.object_id}] #{request.method} #{request.path} #{request.version} -> #{response.status} #{response.headers.to_h}; #{statistics.inspect}"}
+ @logger.info(request.authority) {"#{request.method} #{request.path} #{request.version} -> #{response.status} #{response.headers.to_h}; #{statistics.inspect}"}
@logger.error(request.authority) {"#{error.class}: #{error.message}"} if error
end
return response