From 91de111946474579dd68132409594d30750fd16f Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Thu, 18 May 2017 11:48:00 +0100 Subject: [PATCH] use the log_root for the puma log redirection --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index 5fcd3a2..a16ab4c 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -8,7 +8,7 @@ environment Postal.config.rails&.environment || 'development' prune_bundler quiet false unless ENV['LOG_TO_STDOUT'] - stdout_redirect Postal.app_root.join('log', 'puma.log'), Postal.app_root.join('log', 'puma.log'), true + stdout_redirect Postal.log_root.join('puma.log'), Postal.log_root.join('puma.log'), true end if ENV['APP_ROOT']