EJB and log4j
I have tiny module which would write messages to a log file whenever a request message is received in the onMessage() method, the file name of this log file contains date, hence a different log file would be created daily. The problem is it seems like log4j is still referring to the and writing to the same log file as well as the new one. Say I restart my server yesterday (20060903), today's log message would still get write to both 20060903 and 20060904, eventually it would run into problem such as too many files opened. Can anyone help ? Thanks in advance!

