Notes and explanation:
1. Log files size and rotation configuration:Depending on the level of server log and the scripting log the system is configured with, and how often these logs are generated, the file can grow in size substantially.
The default log level of the server log and the scripting log is INFO. Changing the log level affects all new messages that the server enters in the logs and the number of active connections to the database. The logging verbosity decreases in descending order.
Recommendations: Only set the log level to DEBUG or ALL to debug a problem. Do not use these settings in a production environment because it can seriously impair performance.
To prevent the server log from becoming too large, you can set the maximum file size and count of the server logs by modifying the values in the Max file count and Max file size (MB) text boxes. Here is a document on how to limit the size of this log file. (
https://kb.vmware.com/s/article/2119584)
The above document suggests to set the maximum size of the log file (Ex 5M). Once it exceeds the set size it will rotate 20 times and after that it compresses the old file and creates a new one.
Impact/Risks:
- When the log file system is full, newer log messages will not be properly recorded within the associated log files, (catalina.out, vcac-config.log, controlcenter.log, localhost_access_log.txt, horizon.log... etc) which are required to be written to by the underlying applications and services.
- The log directories mentioned above are located under the Linux root directory--filling up this volume can cause serious issues with system stability and services.