Is there a way to limit the file size of the std.out or the catalin.out files?

There is no way to limit the size of std.out or catalin.out files as this is controlled by Tomcat. There is simply no parameter to set the size of the file itself. You will need to restart the Tomcat service to clear the logs.

However, you can limit the amount of information logged to these file/s (which will still be logged in the Yellowfin.log).

To limit the logging, edit the log4j.properties file located under Yellowfin\appserver\webapps\WEB-INF and then remove "cons" from the code excerpt below.

# Set the default logging level to INFO, and log to console and application log file log4j.rootCategory=INFO, cons, applog

Example:

# Set the default logging level to INFO, and log to console and application log file log4j.rootCategory=INFO, applog

By doing the above, Yellowfin data will not be logged into these files, t hough this information should still be logged within the Yellowfin.log file.

Is article helpful?