tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: AW: AW: Logger / Context
Date Tue, 01 Jun 2010 13:57:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan,

On 6/1/2010 6:38 AM, Stefan Rainer wrote:
> thank you, i managed to get exactly what I wanted with the [global]
> logging.properties!

Great!

> BUT ANOTHER QUESTION:
> I would like to addionally compress (zip) old logs and delete them after
> (e.g.) 30 days. Is there any existing automatism in tonmcat / java logging?
> (Using Tomcat 6 on Windows Server machines)

Tomcat does not have any provision to do that. Most *NIX systems can run
a package called "logrotate" that does stuff like this. Try Googling for
"logrotate windows" and see what you get.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwFEeMACgkQ9CaO5/Lv0PC4OgCeNbXRZD573TWvCtCSdGrfrGro
sHMAoLvo/7tyoQjd/J0c1ItN5+fE/BGN
=Uswz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message