X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/832b96b75ac05177e6baad7b414066ccfd7cfa51..afb4fedbd7b608dfbd2038f853daef26751fc248:/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