Skip to content

Commit 210516a

Browse files
committed
Fix reidmorrison#128 using request.remote_ip
1 parent 47112b2 commit 210516a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rails_semantic_logger/rack/logger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def started_request_message(request)
5454
payload: {
5555
method: request.request_method,
5656
path: request.filtered_path,
57-
ip: request.ip
57+
ip: request.remote_ip
5858
}
5959
}
6060
end

0 commit comments

Comments
 (0)