lib/timber/probes/rails_rack_logger.rb in timber-1.1.10 vs lib/timber/probes/rails_rack_logger.rb in timber-1.1.11
- old
+ new
@@ -22,15 +22,15 @@
def http_request_event(request)
# No idea why rails 3.X returns a "/" :/
referrer = request.referer == "/" ? nil : request.referer
Events::HTTPServerRequest.new(
+ content_type: request.content_type,
host: request.host,
method: request.request_method,
path: request.filtered_path,
port: request.port,
- query_params: request.GET,
- content_type: request.content_type,
+ query_string: request.query_string,
remote_addr: request.ip,
referrer: referrer,
request_id: request_id(request.env),
scheme: request.scheme,
user_agent: request.user_agent
\ No newline at end of file