From a1987465fcd32f9c70a6675e39acf684fa7d8a89 Mon Sep 17 00:00:00 2001 From: Idan Amit Date: Tue, 26 Jun 2018 15:32:32 +0300 Subject: 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 --- catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'catalog-fe/src') 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; -- cgit 1.2.3-korg