/** * Starts the log service by attempting to read the log properties if the * {@link #getLogPropertiesRef()} returns a non null URI reference. */ @Override public synchronized void start() throws Exception { super.start(); this.responseLogTemplate = (getResponseLogFormat() == null) ? null : new Template(getResponseLogFormat()); if (getLogPropertiesRef() != null) { Representation logProperties = new ClientResource(getContext(), getLogPropertiesRef()).get(); if (logProperties != null) { java.util.logging.LogManager.getLogManager().readConfiguration( logProperties.getStream()); } } } }