logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubén Pérez <ru...@astraia.com>
Subject log4j2 archive every week, rotate every startup?
Date Wed, 15 Jun 2016 18:08:51 GMT
Hello!

I am trying to figure out how to simply rename the active log file on
every startup, and archive all the rotated files once a week.

I am forced to specify the "filePattern" at the RollingFile appender
declaration, instead of at the policy. Do this make sense?

Thanks a lot!
Ruben


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message