X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b08270526a34723f1bb9f68a1f0878838714b15..d102c9aaf478a4bad52a72b1b72470ba35ba464e:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 9e15487ae..051c5dd44 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -57,7 +57,7 @@ Rails.application.configure do config.log_tags = [:request_id] # Use a different log path in production. - config.paths["log"] = LOG_PATH if defined?(LOG_PATH) + config.paths["log"] = Settings.log_path if Settings.key?(:log_path) # Use a different cache store in production. # config.cache_store = :mem_cache_store