Respected Contributor.
Respected Contributor.

(OO) Support Tip: OO does not clean up localhost_access_log.yyyy-mm-dd logs

On a daily basis, OO creates a new localhost_access_log.yyyy-mm-dd log file.  Unlike other log files (such as the wrapper_log), OO does not have a mechanism to clean them up so left to itself OO will cause its own failure by running the Centrals out of disk space.  How to resolve?

This logging feature is handled by a third party library in Tomcat. This third party library supports only switching from daily to hourly logging. This means you will only have the logging data for the past 24 hours. After that, it is rolled.

Per Engineering, in order for us to fix this in the code we need to replace the logging library. It turns out that the replacement cannot be done as part of a hotfix due to potential regressions and hopefully will be handled in a future version.

Workaround options:

Option 1 - Based on Tomcat documentation (http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access Log Valve) , it seems that it’s only possible to manage the rotation either to hourly, daily or monthly by adding the fileDateFormat parameter in the server.xml file located at \central\tomcat\conf\server.xml.

Option 2 - Archive older files into a backup directory and/or delete them.  Additionally, write an OO flow and schedule it.

Defect QCCR8C25447 Logfiles consum fast the available disk space has been submitted for this issue.

Please see the knowledge document at https://softwaresupport.hpe.com/km/KM02739039

Labels (1)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.