Note: This solution has been modified to be more complete.
In order to maintain the size of the catalina.out file and keep that file from growing too large, you can periodically delete the catalina.out file when the corresponding SAS Web Application Server is stopped. When the SAS Web Application Server restarts, it will be writing to a new catalina.out file. You can make a step like this part of your regular maintenance and clear out the logs in the <SAS_CONFIG>/Lev1/Web/WebAppServer/SASServerX_Y/logs/ directory when the SAS Web Application Server(s) are stopped. That should be a feasible solution to maintain the size of that file (and the other logs in that directory also). You should not delete or rename the catalina.out file when it is actively being written to, so make sure to do this when the SAS Web Application Server is stopped.
In terms of log rotation - There is no default way to enable the catalina.out log file to roll over, from a SAS Web Application Server configuration standpoint. This file is not controlled by log4j mechanisms (like the other SAS Web Application Server log files), but rather it is a redirection of SYSOUT and SYSERR. There is no way from a SAS configuration standpoint to configure this log to roll over.
If you want to enable this log to roll over, you could look into using some other third-party or system log rotation utilities (like logrotate) that would re-name the catalina.out file at some interval. You can find some more information about that online. The SAS Web Application Server is based on a tomcat web application server, and catalina.out is not specific to the SAS Web Application Server but rather is part of the underlying tomcat server configuration. So if you do a search for something like 'tomcat catalina.out rotation' you'll find some more information about this and examples of how to use something like logrotate. (Using a log rotation utility like this is not something SAS can offer support on, but you could look into this on your own if enabling the catalina.out file to roll over is a priority.)
... View more