add URL logging

This commit is contained in:
2021-06-05 17:26:25 -04:00
parent 4d85f2b455
commit e3cb51f910
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ public class AcsClientCxfImpl extends AcsClient implements InitializingBean {
this.logger.warn("Setting JAX-RS runtime delegate to the CXF library; was: " + RuntimeDelegate.getInstance().getClass().getName());
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
}
if (this.logger.isInfoEnabled())
this.logger.info("ACS API Base URL: " + this.getConfig().getBaseUrl());
}
public WebClient getCxfClient() {

View File

@@ -30,6 +30,9 @@ public class AcsClientJerseyImpl extends AcsClient implements InitializingBean {
this.logger.warn("Setting JAX-RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName());
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
}
if (this.logger.isInfoEnabled())
this.logger.info("ACS API Base URL: " + this.getConfig().getBaseUrl());
}
@Override