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

Harald,

On 2/1/16 10:42 AM, Harald Dunkel wrote:
> would it be possible to integate apache's rotatelogs into
> catalina.sh to support daily rotation of catalina.out without
> restart?

Nope.

> This would be #1 on my wish list for version 9.

If you use the Tomcat startup scripts, the shell is responsible for
output redirection. Hacking that to pipe-through an external program
(eg. chronolog, etc.) is possible but makes the scripts very complicated
.

If you want to rotate stdout/stderr logs, you should use jsvc or some
other service-runner; they will know how to rotate those files. For
example, jsvc can rotate those files when it receives a signal.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlavgtcACgkQ9CaO5/Lv0PBzogCffGyiTvRD2KmYsu45t9q/n1w9
U9cAnjGidN7YfcwiDnU4JCvHnCBUhmSD
=1VN9
-----END PGP SIGNATURE-----

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

Reply via email to