lib/heavylog/middleware.rb in heavylog-0.0.26 vs lib/heavylog/middleware.rb in heavylog-0.0.27

- old
+ new

@@ -16,10 +16,10 @@ unless ignore request = ActionDispatch::Request.new(env) RequestStore.store[:heavylog_request_id] = request.uuid RequestStore.store[:heavylog_request_start] = Time.now.iso8601 - RequestStore.store[:heavylog_request_ip] = request.ip + RequestStore.store[:heavylog_request_ip] = request.remote_ip end @app.call(env) ensure Heavylog.finish unless ignore