From aaea0979db6786a16b07dea56982b420dff3f3fb Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Fri, 21 Apr 2017 15:12:52 -0400 Subject: [PATCH] Merge pull request #14846 from jrafanie/fix_logging_typo It's _log, not log and we don't need the undefined variable prefix (cherry picked from commit 9ea131ef53a10b70fa7a9cd4f18a2515edbad350) --- app/models/embedded_ansible_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/embedded_ansible_worker.rb b/app/models/embedded_ansible_worker.rb index e30aa34f019..2c6fa0c3517 100644 --- a/app/models/embedded_ansible_worker.rb +++ b/app/models/embedded_ansible_worker.rb @@ -13,7 +13,7 @@ def start_runner # Because we're running in a thread on the Server # we need to intercept SystemExit and exit our thread, # not the main server thread! - log.info("#{log_prefix} SystemExit received, exiting monitoring Thread") + _log.info("SystemExit received, exiting monitoring Thread") Thread.exit end end