add URL logging
This commit is contained in:
@@ -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());
|
this.logger.warn("Setting JAX-RS runtime delegate to the CXF library; was: " + RuntimeDelegate.getInstance().getClass().getName());
|
||||||
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
|
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.logger.isInfoEnabled())
|
||||||
|
this.logger.info("ACS API Base URL: " + this.getConfig().getBaseUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
public WebClient getCxfClient() {
|
public WebClient getCxfClient() {
|
||||||
|
@@ -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());
|
this.logger.warn("Setting JAX-RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName());
|
||||||
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
|
RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.logger.isInfoEnabled())
|
||||||
|
this.logger.info("ACS API Base URL: " + this.getConfig().getBaseUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user