According to the javadocs (extract below) for log4j v 1.1.3,
there is no way to have an unlimited number of backups.
0 = no backups
1 .. n = backup files
Is there a possibility of say -1 maning unlimited?
Or is there another workaround?
T Master
public void setMaxBackupIndex(int maxBackups)
You are correct. In fact with the 1.1.3 and 1.2 alpha2 implementations you
-really- don't want to make the max index very large. On roll over, it attempts
to rename all the files, which will take a long time if you have > 10k files...
If you don't want an arbitrary limit but don't expect ten of