问题描述:

Say I have any type of rolling policy in logback. But I want the last file name to stay always the same.

For example:

mylog.log <- log where application logs now

mylog_1.log <- previous log

...

So in all configurations I see I have only possibility to make something like:

mylog_1.log <- now it logs here

mylog_2.log <- after it will log there

... and so on

Is there any way to solve my problem?

相关阅读:
Top