Just catching up here.
I posted a similar thing which you might also want to look at. For
reference:
Source http://marc.theaimsgroup.com/?l=log4j-user&m=102875255312490&w=2
Bug fix http://marc.theaimsgroup.com/?l=log4j-user&m=102881132725686&w=2
Feedback http://marc.theaimsgroup.com/?l=log4j-de
Ole,
I did a quick search, and the only class in the log4j library that appears to be using
CyclicBuffer is o.a.l.net.SMTPAppender.
Just so we understand what you are proposing:
1) A patch to CyclicBuffer that when resized to a smaller buffer size, keeps the
newest messages instead of the old