lib/orats/templates/includes/new/rails/config/puma.rb in orats-0.9.3 vs lib/orats/templates/includes/new/rails/config/puma.rb in orats-0.9.4
- old
+ new
@@ -17,12 +17,11 @@
# Use a shorter timeout instead of the 60s default. If you are handling large
# uploads you may want to increase this.
worker_timeout 30
-# The paths to where logs will be written to.
-stdout_redirect "#{ENV['LOG_PATH']}/#{ENV['SERVICE']}.access.log",
- "#{ENV['LOG_PATH']}/#{ENV['SERVICE']}.error.log"
+# The file that gets logged to.
+stdout_redirect ENV['LOG_FILE'], ENV['LOG_FILE']
# Preload the application before starting the workers.
preload_app!
# The path to the puma binary without any arguments, it will inherit everything