X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2fd52ddf6024ebdbebf451524836e67f7b4f07a2..561140dcbc3b94d1c3dfb97d23ba00ee1ea89dea:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 457966091..3b664b821 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -12,6 +12,11 @@ config.action_view.cache_template_loading = true # See everything in the log (default is :info) # config.log_level = :debug +# Use a different log path in production +if defined?(LOG_PATH) + config.log_path = LOG_PATH +end + # Use a different logger for distributed setups # config.logger = SyslogLogger.new