James,

On 3/8/23 17:05, James H. H. Lampert wrote:
On 3/8/23 1:34 PM, Zerro wrote:

On the Linux box Tomcat is probably started by systemd, therefore no catalina.out

Very likely, but can you elaborate on that? I'm much more of a DOS (to the point of having gone to great lengths to set up a refurbished vintage notebook as a functioning DOSbook) and OS/400 person.

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.

-chris

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

Reply via email to