/** * Called to finish {@link Restarter} initialization when application logging is * available. */ void finish() { synchronized (this.monitor) { if (!isFinished()) { this.logger = DeferredLog.replay(this.logger, LogFactory.getLog(getClass())); this.finished = true; } } }
/** * Called to finish {@link Restarter} initialization when application logging is * available. */ synchronized void finish() { if (!isFinished()) { this.logger = DeferredLog.replay(this.logger, LogFactory.getLog(getClass())); this.finished = true; } }