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