Fixed Logger message in MsoNetworkAdapterAsyncImpl 61/64761/1
authorEzhilarasi <ezhrajam@in.ibm.com>
Wed, 5 Sep 2018 12:32:28 +0000 (18:02 +0530)
committerezhil <ezhrajam@in.ibm.com>
Wed, 5 Sep 2018 13:41:17 +0000 (19:11 +0530)
Message string in the logger method has been replaced with the constant predefined already.

Issue-ID: SO-976
Change-Id: I67f3da5d50ac582883249eb2ea221580a1b12576
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterAsyncImpl.java

index 500b0b3..de8aedc 100644 (file)
@@ -362,7 +362,7 @@ public class MsoNetworkAdapterAsyncImpl implements MsoNetworkAdapterAsync {
             MsoLogger.setServiceName (serviceName);
         } catch (NetworkException e) {
                MsoLogger.setServiceName (serviceName);
-            LOGGER.debug ("Got a NetworkException on createNetwork: ", e);
+            LOGGER.debug (NETWORK_EXCEPTION_MSG, e);
             MsoExceptionCategory exCat = null;
             String eMsg = null;
             try {
@@ -449,7 +449,7 @@ public class MsoNetworkAdapterAsyncImpl implements MsoNetworkAdapterAsync {
             MsoLogger.setServiceName (serviceName);
         } catch (NetworkException e) {
                MsoLogger.setServiceName (serviceName);
-            LOGGER.debug ("Got a NetworkException on createNetwork: ", e);
+            LOGGER.debug (NETWORK_EXCEPTION_MSG, e);
             MsoExceptionCategory exCat = null;
             String eMsg = null;
             try {