not updating new file using DailyRollingFileAppender
urmi Bir
Greenhorn
Joined: Sep 01, 2008
Posts: 4
posted
0
Hi I have used following log4j.xml in my application for creating log files. Using DailyRollingFileAppender option the new file is created at midnight but the log messages are not logging into the file which is newly created. Suppose at midnight my old file changed to AutoTkt_MDB.log20080901 and new file is created as AutoTkt_MDB.log then messages are looged into �AutoTkt_MDB.log20080901� instead of �AutoTkt_MDB.log� <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">