From 4f6b0f738487cc1db54188dbd2b734e32a236eb6 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 20 Jun 2018 15:59:44 +0200 Subject: [PATCH] Improved logging of restart command. --- app/models/observer/app_version_restart_job.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/observer/app_version_restart_job.rb b/app/models/observer/app_version_restart_job.rb index a98c95cf8..8dcc43e35 100644 --- a/app/models/observer/app_version_restart_job.rb +++ b/app/models/observer/app_version_restart_job.rb @@ -4,7 +4,8 @@ class Observer::AppVersionRestartJob end def perform + Rails.logger.info "executing CMD: #{@cmd}" system(@cmd) - Rails.logger.info "execute CMD: #{@cmd}" + Rails.logger.info "executed CMD: #{@cmd}" end end