diff --git a/config/environments/production.rb b/config/environments/production.rb index 173318fe3..f2ca92526 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,9 +76,6 @@ Rails.application.configure do .tap { |logger| logger.formatter = ::Logger::Formatter.new } .then { |logger| ActiveSupport::TaggedLogging.new(logger) } - # Suppress unstructured log lines - config.log_level = :fatal - # Prepend all log lines with the following tags. config.log_tags = [ :request_id ] diff --git a/saas/config/environments/production.rb b/saas/config/environments/production.rb index 3cad5c015..9cb886ed8 100644 --- a/saas/config/environments/production.rb +++ b/saas/config/environments/production.rb @@ -1,6 +1,9 @@ Rails.application.configure do config.active_storage.service = :purestorage + + # Enable structured logging, suppress unstructured log lines config.structured_logging.logger = ActiveSupport::Logger.new(STDOUT) + config.log_level = :fatal config.action_controller.default_url_options = { host: "app.fizzy.do", protocol: "https" } config.action_mailer.default_url_options = { host: "app.fizzy.do", protocol: "https" }