What is the full appender configuration information? Rolling will only occur when a logging event is sent to the appender, it will then check whether the file name it is about to write to matches the date pattern, and if not, creates a new file with the timestamp of the logging event based on the pattern. There is no background thread automatically doing this. So if you don't send the appender and event for 5-6 minutes, then there will be a 5-6 minute 'gap', and no files with those minutes in the name. Cheers,
Paul Smith > -----Original Message----- > From: Sandeep Murthy (Altrantec) [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 3:11 AM > To: Log4J Users List > Subject: DatePattern > > Hello again, > > I have set the Date pattern as : > log4j.appender.R.DatePattern='.'yyyy-MM-dd-HH-mm but the logs are not > getting rolled over every minute.. Its working somewhat strange, the logs > getting rolled over once in a while. Sometimes after a minute, sometime > after 5-6 minutes.. > > could this be a bug ? > > thnx, > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.733 / Virus Database: 487 - Release Date: 02-08-2004 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
