From 0609a84fa2b84085cea48cfb60095fd75a3bf07a Mon Sep 17 00:00:00 2001 From: joewitt Date: Thu, 26 Nov 2015 01:10:11 -0500 Subject: [PATCH] NIFI-1059 Amending patch to fix identified logging output defect --- .../src/main/java/org/apache/nifi/bootstrap/RunNiFi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java b/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java index a3d3de7dc3..098be034dc 100644 --- a/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java +++ b/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java @@ -705,9 +705,9 @@ public class RunNiFi { } catch (final IOException ioe) { if (pid == null) { logger.error("Failed to send shutdown command to port {} due to {}. No PID found for the NiFi process, so unable to kill process; " - + "the process should be killed manually.", new Object[] {port, ioe.toString(), ioe}); + + "the process should be killed manually.", new Object[] {port, ioe.toString()}); } else { - logger.error("Failed to send shutdown command to port {} due to {}. Will kill the NiFi Process with PID {}.", new Object[] {port, ioe.toString(), ioe, pid}); + logger.error("Failed to send shutdown command to port {} due to {}. Will kill the NiFi Process with PID {}.", new Object[] {port, ioe.toString(), pid}); killProcessTree(pid, logger); } } finally {