[logback-user] RollingFileAppender with compress & %i
DeepakVadgama
vadgama.deepak at gmail.com
Wed Mar 2 11:49:08 CET 2011
I have raised the JIRA as you requested.
http://jira.qos.ch/browse/LBCORE-199
Ceki Gulcu wrote:
>
> Hello Deepak,
>
> Please create a bug report so that this problem can be fixed.
> --
> Ceki
>
> On 02.03.2011 04:43, DeepakVadgama wrote:
>>
>> FixedWindowRollingPolicy with compress and %i, always zips the active log
>> file and renames the zip
>>
>> Thus The log files inside all the resulting zips has same log filename.
>>
>> How do i ensure the log file is renamed with %i before zipping it up?
>>
>> Eg: FileNamePattern of MyLogFile%i.log.zip
>>
>> currently results in
>> MyLogFile1.log.zip (with log file name MyLogFile.log)
>> MyLogFile2.log.zip (with log file name MyLogFile.log)
>> MyLogFile3.log.zip (with log file name MyLogFile.log)
>>
>> I want it to be
>> MyLogFile1.log.zip (with log file name MyLogFile1.log)
>> MyLogFile2.log.zip (with log file name MyLogFile2.log)
>> MyLogFile3.log.zip (with log file name MyLogFile3.log)
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
>
--
View this message in context: http://old.nabble.com/RollingFileAppender-with-compress----i-tp31037552p31048264.html
Sent from the Logback User mailing list archive at Nabble.com.
More information about the Logback-user
mailing list