diff --git a/config/environments/production.rb b/config/environments/production.rb index 12e84b39..a785ef55 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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)