No that is not supported. Note that there are no java APIs (that I know of) for modifying a zip file. The only way to add a file to an existing zip file is to create a new zip file with the file added and then delete the old zip file.
David > On 1 Oct 2013, at 09:57, PaSik <[email protected]> wrote: > > Hi, > > Could you please tell me whether it's possible to configure logback in such a > way that multiple log files are compressed to a single, possibly already > existing archive (existing because logback itself has already put some log > Giles in this archive). > > The current use case is that I'd like to have a RollingFileAppender with > SizeAndTimeBasedFNATP with fileNamePattern=mylog-%d{yyyy-MM-dd}.%i.zip and > have the log files archived to mylog-%d{yyyy-MM-dd}.zip. > > Another use case would be an app that doesn't produce much logs and the loga > would be produced to daily files but the archives would be monthly. > > Thanks, > Tom > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user _______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
