Super Contributor.. JamesLindsay Super Contributor..
Super Contributor..


I have great log file control except for this log. It grows to a GIG before rolling over. where are the properties for controlling this log file size and rotation?
E:\Program Files\Hewlett-Packard\HP Operations Orchestration\central\var\logs\localhost_access_log

2 Replies
Josue_G_OO Respected Contributor.
Respected Contributor.

Re: localhost_access_log


localhost_access_log is a log file belong to TOMCAT application and it seems the only way possible to manage this log file can be through the rotation either to hourly, daily or monthly, by adding the fileDateFormat parameter in the server.xml file which is located at : <OO Home directory>\central\tomcat\conf\server.xml

This link might has useful information which I recommend you to read : Log Valve

Make sure to backup any files prior any changes. 


Thank You.


Josue Gómez
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Super Contributor.. JamesLindsay Super Contributor..
Super Contributor..

Re: localhost_access_log

Thank you, this tip did allow me to confugre the default log rotation from daily to hourly meaning the log files will be smaller. However, there is no provision for removing aged log files. I found this inthe admin guide and created a windows task.

forfiles /p "E:\Program Files\Hewlett-Packard\HP Operations Orchestration\central\var\logs" /s /m localhost_access*.txt /d -10 /c "cmd /c del @PATH"

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.