You could implement a timer in your code to write some data at a specified period (say midnight).
I don't think this can be done from log4j configuration. Cheers, Philip. -----Original Message----- From: Fong Vang [mailto:[EMAIL PROTECTED] Sent: October 17, 2005 1:07 PM To: [email protected] Subject: heartbeat to trigger log rotation Even though some of our log files use the DailyRollingFileAppender (set to rotate log daily), several of our logs are not being rotated because they don't get any activity. What's the easiest way to configure log4j to rotate a log file regardless of activities or not? What's the easiest way to add a "heartbeat" if this functionality doesn't exist? TIA! --------------------------------------------------------------------- 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]
