summaryrefslogtreecommitdiffstats
path: root/catalog-fe
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-06-26 15:32:32 +0300
committerMichael Lando <ml636r@att.com>2018-06-26 14:29:37 +0000
commita1987465fcd32f9c70a6675e39acf684fa7d8a89 (patch)
tree0f1a501b13af8a74071009f86e1f6067c10cffc8 /catalog-fe
parent4720f5aea7d548701a832b965a2b0e38dbc3bc4a (diff)
Fix debug logging issues in pluginsBL
Added additional debug logs to the plugin connectivity test Change-Id: I36255a1357d6e971122b0d6ff6b1fd759c6a2454 Issue-ID: SDC-1446 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-fe')
-rw-r--r--catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
index cdf965da63..df68e1927d 100644
--- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
+++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
@@ -75,9 +75,10 @@ public class PluginStatusBL {
try (CloseableHttpResponse response = this.client.execute(head)) {
result = response != null && response.getStatusLine().getStatusCode() == 200;
- log.debug("The plugin {} is online", plugin.getPluginId());
+ log.debug("The plugin {} is {} with result {}",plugin.getPluginId(),( result ? "online" : "offline" ), result);
} catch (IOException e) {
log.debug("The plugin {} is offline", plugin.getPluginId());
+ log.debug("Exception:",e);
}
return result;