Problems with Log4j
The testing team has discovered an odd problem related to Log4j. While system testing our application, they decided to delete the log file. The result was that Log4j did not create a new log file the next time there was a log request. They had to restart the application in order for Log4j to create a new file and start logging to it.
I have scoured the web to find a solution to this and have come up empty handed. I basically need a solution that configures Log4j to, when the current log file is deleted, create a new file. Anyone have any ideas?
So far my best advice has been: don’t delete the log file :-P.
Hi, did you get any solution for this problem. I also encountered the same and looking for a solution. Jus in case you have answer for that, please mail me comp2k5[at]yahoo[dot]com. Thanks in advance.