Originally posted by Nischal Tanna:
Hi all
I was under the impression that the Daily log appender is used only to back up the specified file...But i am getting a problem wherein every debug statement is coming in the form of the daily log appender layout. Pls have a look at the log4j.properties below
No, it appends log events to a file and rolls over that file at the user chosen frequency.
From the
javadoc:
DailyRollingFileAppender extends FileAppender so that the underlying file is rolled over at a user chosen frequency.
FileAppender appends log events to a file.
[ January 31, 2007: Message edited by: Carol Enderlin ]