Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
128 views

kmsearchenginemaster-stderr.20YY-MM-DD.log change to smaller or periodically deleted

A lot of logs are saved in the KM server. The log file of kmsearchenginemaster-stderr.20YY-MM-DD.log is very large. Other logs can be downgraded by the logging.properties configuration parameter to reduce the number of logs. But kmsearchenginemaster can't, I look forward to know if there is any way to reduce the log output level, or clean up the log regularly, such as only saving 10 days of log.

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: kmsearchenginemaster-stderr.20YY-MM-DD.log change to smaller or periodically deleted

It is an area of tomcat, not KM solr engine.
log rotation can be done in tomcat.

https://tomcat.apache.org/tomcat-7.0-doc/logging.html 
-> search 'Using Log4j'
-> configure Log4j instead of default, logging.properties
-> refer to it for configuring Log4j for log rotation
https://www.experts-exchange.com/questions/21811021/daily-log-rotation-in-log4j-properties-file-help.html

 

Thank you for using the MicroFocus ServiceManager Support and News Forum. If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
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.