Search in sources :

Example 1 with RecoveryCoordinator

use of ch.qos.logback.core.recovery.RecoveryCoordinator in project dropwizard by dropwizard.

the class ResilientOutputStreamBase method postIOFailure.

private void postIOFailure(IOException e) {
    addStatusIfCountNotOverLimit(new ErrorStatus("IO failure while writing to " + getDescription(), this, e));
    presumedClean = false;
    if (recoveryCoordinator == null) {
        recoveryCoordinator = new RecoveryCoordinator();
    }
}
Also used : ErrorStatus(ch.qos.logback.core.status.ErrorStatus) RecoveryCoordinator(ch.qos.logback.core.recovery.RecoveryCoordinator)

Aggregations

RecoveryCoordinator (ch.qos.logback.core.recovery.RecoveryCoordinator)1 ErrorStatus (ch.qos.logback.core.status.ErrorStatus)1