I want a sample code for log4j.properties which will add date in the file name when creating. Say example i have a file catilina.2013-02-13.log which is in the format as catilina.{yyyy-mm-dd}.log
I used the below code but it does not work for me
log4j.appender.FILE.File=${log}/catilina_%d{yyyy-MM-dd}.log
Thanks,