From f09b14ef5b26ad80d56f85cd4f60e2095bcbc9d7 Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Thu, 2 May 2024 23:18:07 -0500 Subject: [PATCH] log client ip --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 41d88a0..a04b804 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -59,7 +59,7 @@ Rails.application.configure do .then { |logger| ActiveSupport::TaggedLogging.new(logger) } # Prepend all log lines with the following tags. - config.log_tags = %i[request_id forwarded_host] + config.log_tags = %i[remote_ip forwarded_host] # Info include generic and useful information about system operation, but avoids logging too much # information to avoid inadvertent exposure of personally identifiable information (PII). If you