commit | 0155643bfd2e38ca3a557faca9bdb282331c6590 | [log] [tgz] |
---|---|---|
author | EmmettCox <emmett.cox@est.tech> | Tue Apr 09 09:18:42 2019 +0000 |
committer | EmmettCox <emmett.cox@est.tech> | Tue Apr 09 09:18:42 2019 +0000 |
tree | 75bd2f022931f2a5e2ba71dec30bcab79ba05ef1 | |
parent | b60213dc26540543f500b3442b061565907c3cf8 [diff] |
logging under one system updates Change-Id: I73afa3b104c0c31e5ba72face7d547b4eb996787 Issue-ID: DMAAP-1050 Signed-off-by: EmmettCox <emmett.cox@est.tech>
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java index feee19c..16099e6 100644 --- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java +++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeConfigManager.java
@@ -298,7 +298,7 @@ * seconds), wait a while before fetching again. */ public synchronized void gofetch(String remoteAddr) { - if (provcheck.isFrom(remoteAddr)) { + if (provcheck.isReachable(remoteAddr)) { eelfLogger.info("NODE0307 Received configuration fetch request from provisioning server " + remoteAddr); pfetcher.request(); } else {
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java index af2085b..76a983f 100644 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
@@ -162,7 +162,7 @@ String message = "Redirected to: " + newurl; elr.setMessage(message); elr.setResult(HttpServletResponse.SC_MOVED_PERMANENTLY); - eventlogger.error(elr.toString()); + eventlogger.info(elr.toString()); resp.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); resp.setHeader("Location", newurl);