diff --git a/task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java b/task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java index 801417d7b..ba39b9ece 100644 --- a/task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java +++ b/task-status-listener/src/main/java/com/netflix/conductor/contribs/listener/RestClientManager.java @@ -196,7 +196,7 @@ public void postNotification( executePost(request); long duration = System.currentTimeMillis() - start; if (duration > 100) { - logger.info("Round trip response time = " + (duration) + " millis"); + logger.info("Round trip response time = {} millis", duration); } } @@ -213,7 +213,7 @@ private String prepareUrl( } } else if (notifType == RestClientManager.NotificationType.WORKFLOW) { if (statusNotifier != null - && StringUtils.isNotBlank(statusNotifier.getEndpointTask())) { + && StringUtils.isNotBlank(statusNotifier.getEndpointWorkflow())) { urlEndPoint = statusNotifier.getEndpointWorkflow(); } else { urlEndPoint = config.getEndpointWorkflow();