Yes, this can be done with a TimeBasedRollingPolicy

     http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy

Roger

On 06/10/2014 00:20, Ren, Kevin wrote:

Hi,

 

Is it possible to keep the current log for last X days? archived the X+1 day back to another file.

 

Thanks

 

Kevin



Confidentiality notice:
This email may contain information that is confidential or legally privileged. If you have received it by mistake, please:
(1) reply promptly to that effect, and remove this email and the reply from your system;
(2) do not act on this email in any other way.
Thank you.




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