On 16.11.2011 14:47, Yair Ogen wrote:
Hi,
Is there a way to add a listener to a RollingFileAppender so each time
it rolls I can run some code in a call back function?
You can have a StatusListener which will see all status messages,
including those generated by rollover. Your listener can ignore all
status messages except those pertaining to rollover.
let us know if it the above works for you,
--
Ceki
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user