mirror of https://github.com/apache/nifi.git
NIFI-1059 Amending patch to fix identified logging output defect
This commit is contained in:
parent
757202b63e
commit
0609a84fa2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue