Commit e3cb51f9 authored by Brian Long's avatar Brian Long
Browse files

add URL logging

parent 4d85f2b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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() {
+3 −0
Original line number Diff line number Diff line
@@ -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