diff options
author | Jegadeesh Babu <jegabab1@in.ibm.com> | 2019-03-12 18:39:54 +0530 |
---|---|---|
committer | Jegadeesh Babu <jegabab1@in.ibm.com> | 2019-03-12 18:41:22 +0530 |
commit | d40de4fb43f43d760c90abc40feb4d865b070b99 (patch) | |
tree | 0be8dc56732860cb130a7d64458bd4ae0ae8fd8d /appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle | |
parent | a50a09dea0d53b6f128ba25c93d22720d3242453 (diff) |
Added logger
Sonar fix
Issue-ID: APPC-1532
Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle')
-rw-r--r-- | appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java | 3 |
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"); } |