Hi everybody, Finally I got my rolling file appender work. After a long time which it sometimes worked and sometimes not, I got it working for 10 consecutive days, so I decided It's good time to share it with you. My main problem was that the backup file wasn't created. Every time the file rolled it emptied the previous log file and only one log file existed. However, sometimes the file was rolled. The rolling appender should have rolled every day at midnight... I couldn't put my hand for a long time when it rolled and when not. I used tomcat 3.3.1 and log4j 1.1.3 and then the newer 1.2. Neither of them solved the problem. I should also mention my tomcat was always up & running..
Two weeks ago I switched to Tomcat 4.0.4-b3. I continue working with log4j v. 1.2, with no changes at the logging mechanizem. Suprise ! Log4j seems to work properly. I don't know if that's a proved fact, however, for me it solved the problem !!!. Attched snipplet of my log4j.properties: log4j.appender.LOG.File=c:/movious/mss/mss-server/WEB-INF/logs/mss-server.lo g log4j.appender.LOG=org.apache.log4j.DailyRollingFileAppender log4j.appender.LOG.layout=org.apache.log4j.PatternLayout # log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] (%F\:%L) %c - %m%n log4j.appender.LOG.layout.ConversionPattern=%d %p [%x %t] - %m%n log4j.appender.LOG.DatePattern='.'yyyy-MM-dd Regards, Tamir -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>