logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@apache.org>
Subject Re: heartbeat to trigger log rotation
Date Mon, 17 Oct 2005 22:51:45 GMT
I would need to check, but I think this will be fixed in v1.3.

-Mark

On 10/17/05, Philip Denno <pdenno@tsi.bc.ca> wrote:
>
> 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:sudoyang@gmail.com]
> Sent: October 17, 2005 1:07 PM
> To: log4j-user@logging.apache.org
> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message