[logback-user] Change FixedWindowRollingPolicy rolling behaviour

David Roussel nabble at diroussel.xsmail.com
Thu May 12 07:25:56 UTC 2016


Hi DK,

It's not clear what you are asking for. 

Currently the files are renamed in reverse order so that there is no name clash. What other strategy are you suggesting?

David

> On 27 Apr 2016, at 15:05, DK <desmond.kirrane at gmail.com> wrote:
> 
> Hi can I change FixedWindowRollingPolicy to rollover as follows:
> 
> foo.log active log file
> foo1.log first rollover
> foo2.log second rollover
> foo3.log third rollover
> 
> Current behaviour is second rollover. foo1.log is renamed as foo2.log.
> foo.log is renamed as foo1.log
> 
> 
> 
> --
> View this message in context: http://logback.10977.n7.nabble.com/Change-FixedWindowRollingPolicy-rolling-behaviour-tp14954.html
> Sent from the Users mailing list archive at Nabble.com.
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user



More information about the logback-user mailing list