We haven’t found a way. We coded it out using persisted queue when we wrote our own (logz.io) - it’s available on GitHub On Mon, 23 Oct 2017 at 17:13 Gérald Quintana <gerald.quint...@gmail.com> wrote:
> I am using an appender which becomes slow at times (in case of network > congestion). > > To avoid impacting application performance with this "slow" appender, I > wrapped it in an AsyncAppender. So far, so good. > > When AsyncAppender queue is full, logging events are dropped. > In such an emergency situation, I'd like to route events to a local file > appender (supposed to be fast), even if writes are not async anymore. > > I looked at AsyncAppenderBase and AsyncDisruptorAppender, but there are a > lot of private methods. > > How would you do an async appender that overflows to local disk when in > memory queue is nearly full? > > Thanks for your help > > _______________________________________________ > slf4j-user mailing list > slf4j-user@qos.ch > http://mailman.qos.ch/mailman/listinfo/slf4j-user
_______________________________________________ slf4j-user mailing list slf4j-user@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-user