You can report failure to log with an appender listener.

https://github.com/logstash/logstash-logback-encoder/blob/master/src/main/java/net/logstash/logback/appender/listener/FailureSummaryLoggingAppenderListener.java

https://github.com/logstash/logstash-logback-encoder

> On May 23, 2021, at 2:26 AM, David Roussel <nab...@diroussel.xsmail.com> 
> wrote:
> 
> 
> 
> David
>> On 23 May 2021, at 01:24, KARR, DAVID <dk0...@att.com> wrote:
>> 
>> I guess that will likely be 800k for each AsyncAppender (queueSize of 
>> 100000).  That could be significant, or not.
> 
> That’s just for the array. The data will be bigger. But weather it’s worth it 
> depends on the risk of data loss of logs. 
> 
> And the problem with loosing log lines is that it is hard to spot. Most teams 
> never look for missing log lines. And if they thought some were missing it 
> would be hard to prove if and why it occurred. 
> 
> So what do you use logs for? Diagnostics in case of a problem? Or do they 
> feed MI reporting?
> 
> David
> 
> 
> _______________________________________________
> logback-user mailing list
> logback-user@qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
logback-user mailing list
logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to