> Do you read the mail title??????????

Do you read the docs and try to understand replies given to you?


> The number is for day. Or it is for month????

It depends on the value of fileNamePattern; if set for monthly rollover, it's monthly.  If daily rollover, it's daily.  So "It's always the number of elapsed periods."  and "Neither, it's the max number of files kept." accurately answer your question.

You need to read the doc here:
" The optional maxHistory property controls the maximum number of archive files to keep, deleting older files. For example, if you specify monthly rollover, and set maxHistory to 6, then 6 months worth of archives files will be kept with files older than 6 months deleted. Note as old archived log files are removed, any folders which were created for the purpose of log file archiving will be removed as appropriate. "


On Thu, Sep 15, 2011 at 8:41 AM, zuxiong lin <linzuxiong1988@gmail.com> wrote:
The number is for day. Or it is for month????


2011/9/15 Ceki Gülcü <ceki@qos.ch>
It's always the number of elapsed periods.


On 14/09/2011 7:20 PM, Daniel Serodio (lists) wrote:
Neither, it's the max number of files kept.

Regards,
Daniel Serodio

zuxiong lin wrote:
Ref : http://logback.qos.ch/manual/appenders.html

I am a bit confused.

Thanks!

--
QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, is looking to hire talented software developers. For further details, see http://logback.qos.ch/job.html

_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user


_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user