@Override public synchronized void publish(LogRecord record) { if (!isLoggable(record)) { return; } checkRotate(); super.publish(record); super.flush(); }
@Override public synchronized void flush() { checkRotate(); super.flush(); }