Aryeh,
On 1/29/24 15:28, Aryeh Friedman wrote:
We need to shrink the size of catalina.out but looking at the logging
documentation I do not see any way to do this with the standard
logging.properties (or else where). Due to the nature of the
production site we never bring it completely down unless we must (life
critical 24/7/365)
Specifically we have a fair number of System.out.println's with
debugging information to it and we dumb stack traces into it also.
And without stopping and restarting tomcat we want to make it so there
is periodic rotation of catalina.out to some other file? (note stack
traces do go to the dated one but not the System.out.println's)
What OS is this? How do you launch Tomcat?
When launched via command-line scripts, catalina.out is created using
stdout redirection in the shell. There is not really any opportunity for
rotation, there.
Depending upon your environment, you may have some options.
The best option is to stop using stdout.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org