logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wim Deblauwe" <wim.debla...@gmail.com>
Subject Re: RollingFileAppender that zips?
Date Thu, 02 Nov 2006 09:28:50 GMT
Documentation seems to be here:
http://logging.apache.org/log4j/docs/api-1.3/org/apache/log4j/rolling/TimeBasedRollingPolicy.html

But it seems you need to use a time-based rolling policy. Is it possible to
use this with the normal RollingFileAppender? Also, it seems that this is
only added in 1.3, so we will not be able to use it yet (any ideas on
release date?).

regards,

Wim

2006/11/2, Dirk Ooms <dirk@onesparrow.com>:
>
> Yes you can zip files when they are rolled over. Put a '.gz' extension in
> the FileNamePattern.
>
> ---------------------------------------------------------------------
> 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