mirror of https://github.com/apache/nifi.git
NIFI-869 Fixed formatting issue Fixed formatting issue with printed error message which only apears when NiFi is cnfigured using Logback. Please see NIFI-869 for more details
Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
parent
dc4004de64
commit
90aea01350
|
@ -655,7 +655,7 @@ public final class StandardProcessScheduler implements ProcessScheduler {
|
|||
final Throwable cause = e instanceof InvocationTargetException ? e.getCause() : e;
|
||||
|
||||
final ComponentLog componentLog = new SimpleProcessLogger(service.getIdentifier(), service);
|
||||
componentLog.error("Failed to invoke @OnEnabled method due to {}", cause);
|
||||
componentLog.error("failed to invoke @OnEnabled method due to {}", new Object[]{cause.toString()});
|
||||
LOG.error("Failed to invoke @OnEnabled method of {} due to {}", service.getControllerServiceImplementation(), cause.toString());
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.error("", cause);
|
||||
|
|
Loading…
Reference in New Issue