Skip to content
Snippets Groups Projects
Unverified Commit 2a68b2d3 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Add IP Address to logs (#2602)

parent e8ea4972
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ Rails.application.configure do
config.log_level = :info
# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
config.log_tags = [:request_id, :remote_ip]
if ENV["RAILS_LOG_TO_STDOUT"] == "true"
logger = ActiveSupport::Logger.new($stdout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment