How to use log4j to log a file whose file name is daily based?
Hai Lin
Ranch Hand
Joined: May 23, 2004
Posts: 79
posted
0
Hi All, I'm using log4j to do log for the java application, and the logged file name should be automatically changed every day, for example, today's log file should be 12152004test1.log (today is Dec/15), and tomorrow's log will automatically become 12162004test1.log when I start up the application. Could anyone tell me how to set the property about: