I have a Java project using a log4j application that works like a package.
I would like it to roll a file for every execution.
Log4j offers to collapse the file either in time ( DailyRollingFileAppender ) or in file length ( RollingFileAppender ), which is good for constantly running applications, for example, in Java EE, but not very good for a package.
Is there a way to manually run the file?
source share