On 3/8/23 4:06 PM, Christopher Schultz wrote:
SOP for systemd is to redirect stdout/stderr for the process into its own logs similar to syslog (but different, of course, because #systemd).

This could also happen on Linux is you are using "jsvc" to launch Tomcat. If you use the standard shell scripts to launch Tomcat, you'll get stdout/stderr redirected to catalina.out and it will grow indefinitely.

If you use jsvc, you get log-file rotation out of the box. Instead of one giant catalina.out file, you'll get daily catalina-stdout.txt and catalina-stderr.txt files. I'm not sure why you have a zero-length catalina.out in those circumstances.

Thank you very much. Especially given that I had no practical reason for knowing the answer, and had asked purely out of morbid curiosity.

--
JHHL

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

Reply via email to