[logback-user] Appender and zipping file

Greg Flex greg.flex at gmail.com
Wed Nov 12 18:06:24 CET 2008


Hi Guys,
I'm using the RollingOverAppender with the TimeBasedRollingPolicy that also
automatically zips the file.
However when running it for, say, 24 hours with rolling policy of one hour
only 23 files get zipped.
The same applies if rolling policy is set to a minute; the last file never
gets zipped.
Anyway I just want to find out if there is a way to tell the
RollingoverAppender that the very last file
also needs to be zipped even if the full hour hasn't passed yet.
Thanks for any info.
Greg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081112/638dd25b/attachment.htm 


More information about the Logback-user mailing list