DailyRollingFileAppender - computeCheckPeriod

2002-01-16 Thread Anshul Chhabra
Hi If anybody is familiar with the code of DailyRollingFileAppender, what is the method computeCheckPeriod supposed to accomplish. Looks to me like this method has a fixed result always and looks like a very roundabout way to achieve that result. It looks like the checkPeriod (or the

Re: DailyRollingFileAppender - computeCheckPeriod

2002-01-16 Thread Kevin Steppe
The result depends on how variable 'sdf' formats the dates involved. Basically it converts the requested date format into a timing interval for determining when to do roll overs. I agree however, that it is remarkably unclear and roundabout in doing this, but if you specify a different format

RE: DailyRollingFileAppender - computeCheckPeriod

2002-01-16 Thread Anshul Chhabra
Thanks Kevin. It now makes a whole lot of sense. -Original Message- From: Kevin Steppe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 1:37 PM To: Log4J Users List Subject: Re: DailyRollingFileAppender - computeCheckPeriod The result depends on how variable 'sdf' formats