Disable logback log file deletion by setting maxHistory to zero

Viewed 27

I am trying to disable the log file deletion in logback.

I searched the documentation but found no way to accomplish this.

However, the source code seems to depend on maxHistory flag set to 0 which means unbounded history. see and see.

but hence I cannot find it documented anywhere, I am afraid to use so to be changed in the future without any declarations!

So my question, is it documented somewhere I don't know about?

1 Answers
Related