Move more settings to the gem

This commit is contained in:
Jorge Manrubia
2025-11-26 17:31:51 +01:00
parent 2ff944b805
commit fa9ee0381d
2 changed files with 0 additions and 9 deletions
-3
View File
@@ -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
-6
View File
@@ -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 ]