Class FailureSummaryLoggingAppenderListener<Event extends DeferredProcessingAware>

java.lang.Object
net.logstash.logback.appender.listener.FailureSummaryAppenderListener<Event>
net.logstash.logback.appender.listener.FailureSummaryLoggingAppenderListener<Event>
All Implemented Interfaces:
AppenderListener<Event>, TcpAppenderListener<Event>

public class FailureSummaryLoggingAppenderListener<Event extends DeferredProcessingAware> extends FailureSummaryAppenderListener<Event>
A TcpAppenderListener that logs a warning message on the first append/send/connect success after a series of consecutive failures. The warning message includes the number of consecutive failures, the timestamp of the first failure, and the duration between the first and last failures.

The default logger to which the event is sent is the fully qualified name of FailureSummaryLoggingAppenderListener, and can be changed by calling setLoggerName(String).