Re-create log file if it gets deleted

Hi, I'm using a RollingFileAppender with the size&time based rolling policy SizeAndTimeBasedFNATP. If for some reason the log file gets deleted I need to re-create it. I checked and currently this doesn't happen. Any pointers on how this can be done?

Please check the archives, this issue has been discussed recently. On 12 Aug 2014, at 21:43, Dessie K <desmond.kirrane@gmail.com> wrote:
Hi,
I'm using a RollingFileAppender with the size&time based rolling policy SizeAndTimeBasedFNATP.
If for some reason the log file gets deleted I need to re-create it. I checked and currently this doesn't happen.
Any pointers on how this can be done?
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
David Roussel
-
Dessie K