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>
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;