A platform for community discussion. Free, open, simple.
DEV: Enable unicorn logger in test environment
Jarek Radosz956f8492507f
diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rbindex 3271f82466d..44e67354214 100644--- a/config/unicorn.conf.rb+++ b/config/unicorn.conf.rb@@ -25,7 +25,7 @@ end# feel free to point this anywhere accessible on the filesystempid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid")-if ENV["RAILS_ENV"] == "development" || !ENV["RAILS_ENV"]+if ENV["RAILS_ENV"] != "production"logger Logger.new($stdout)# we want a longer timeout in dev cause first request can be really slowtimeout (ENV["UNICORN_TIMEOUT"] && ENV["UNICORN_TIMEOUT"].to_i || 60)