log client ip
This commit is contained in:
parent
76dd6337a2
commit
f09b14ef5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user