problem with DailyRollingFileAppender
1 posts in topic
Flat View  Flat View

Posted By:   Kishore_Dandu
Posted On:   Wednesday, November 17, 2004 01:15 PM

I have a daily appender setup to rollover each day.

I am having problem specific to previous day logs. Around 12 in the night, the setup is creating a log file for today, and also updating the rolledover file(for previous day) and thereby clearning the previous day's log.

Example: abc.log (it has log for present day).
abc.log-11-16-04 ( it has log for 1 hour of today).

Ideally abc.log-11-16-04 should have log that is copied from yesterday.

Can any one think of possible problems that might be causing this?

Re: problem with DailyRollingFileAppender

Posted By:   Anonymous  
Posted On:   Wednesday, November 17, 2004 07:22 PM

i think there may be something wrong with the option "DatePattern". Is it '.yyyy-MM-dd'?
About | Sitemap | Contact