diff --git a/config/environments/development.rb b/config/environments/development.rb index c13b122e2..080fec8b0 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -94,7 +94,4 @@ Rails.application.configure do config.solid_queue.connects_to = { database: { writing: :queue, reading: :queue } } end - if config.respond_to?(:structured_logging) && Rails.root.join("tmp/structured-logging.txt").exist? - config.structured_logging.logger = ActiveSupport::Logger.new("log/structured-development.log") - end end diff --git a/config/environments/production.rb b/config/environments/production.rb index 1a34453fa..f1d786279 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -32,9 +32,6 @@ Rails.application.configure do # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX - # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :purestorage - # Mount Action Cable outside main process or domain. # config.action_cable.mount_path = nil # config.action_cable.url = "wss://example.com/cable" @@ -55,9 +52,6 @@ Rails.application.configure do # Suppress unstructured log lines config.log_level = :fatal - # Structured JSON logging. Pending to move to new Rails' built-in support. - config.structured_logging.logger = ActiveSupport::Logger.new(STDOUT) if config.respond_to?(:structured_logging) - # Prepend all log lines with the following tags. config.log_tags = [ :request_id ]