summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-03-12 18:39:54 +0530
committerJegadeesh Babu <jegabab1@in.ibm.com>2019-03-12 18:41:22 +0530
commitd40de4fb43f43d760c90abc40feb4d865b070b99 (patch)
tree0be8dc56732860cb130a7d64458bd4ae0ae8fd8d
parenta50a09dea0d53b6f128ba25c93d22720d3242453 (diff)
Added logger
Sonar fix Issue-ID: APPC-1532 Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
-rw-r--r--appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
index 5ac1e8864..131448037 100644
--- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
+++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
@@ -188,6 +188,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
} catch (Exception e) {
defaultTimeout = 600 * 1000;
+ logger.error("Error while reading time out property" , e);
}
//continuing for checking timeout
try {
@@ -196,6 +197,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
} catch (Exception e) {
defaultSocketTimeout = 60 * 1000;
+ logger.error("Error while reading socket time out property" , e);
}
//continuing for checking timeout
try {
@@ -204,6 +206,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
} catch (Exception e) {
defaultPollInterval = 60 * 1000;
+ logger.error("Error while reading poll interval property" , e);
}
logger.info("Initialized Ansible Adapter");
}