log host in prod requests

This commit is contained in:
Donovan Daniels 2024-05-02 22:48:59 -05:00
parent 84b39e1b7f
commit e2b48e2f5c
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA

View File

@ -59,7 +59,7 @@ Rails.application.configure do
.then { |logger| ActiveSupport::TaggedLogging.new(logger) } .then { |logger| ActiveSupport::TaggedLogging.new(logger) }
# Prepend all log lines with the following tags. # Prepend all log lines with the following tags.
config.log_tags = [:request_id] config.log_tags = %i[request_id host]
# Info include generic and useful information about system operation, but avoids logging too much # 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 # information to avoid inadvertent exposure of personally identifiable information (PII). If you