-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Thanks a lot for your response Jacob. Finally, I've found the test case
'test3' in the test suite that shows how to set up a rolling file
appender with file compression. Basically the solution consists in using
the 'log4cxx/rolling/rollingfileappender.h' instead of the
'log4cxx/rollingfileappender.h' header file, and then to create rolling
and triggering policies and to pass them to the appender.

Regards,

Erik


Jacob L. Anawalt wrote:
> On 2009-04-28 05:08, Erik Torres Serrano wrote:
>> Is there any way to programmatically configure log4cxx so that backup
>> files are compressed?
> 
> I haven't used that feature. Maybe something from this post will help.
> 
> http://www.mail-archive.com/log4cxx-user@logging.apache.org/msg02501.html
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn4LkMACgkQdJd9cqtcVSt+SQCeONCtIokV+rJHk9DNww8E4Myz
tsoAn102ar3Tz1JCJK911SDSG+pk7toH
=KW7w
-----END PGP SIGNATURE-----

Reply via email to