I'm trying to append the current date to the log4j log file. So it would be something like this:
myApp-2011-01-07.log
The thing is that I do not want to use the DailyRollingFileAppender. Reason is that there will be another script that runs daily that will backup everything in the logs folder. This is running under Tomcat5.5.
Is this possible in log4j?
See Question&Answers more detail:os