Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
The Oracle JDK supports rolling over GC logs. I propose to add the following to the solr.in.
{sh,cmd}scripts to enable it by default:
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M
Unfortunately, the JDK doesn't have any option to append to existing log instead of overwriting so the latest log is overwritten. Maybe we can have the bin/solr script roll that after the process is killed?
Attachments
Attachments
Issue Links
- is related to
-
SOLR-9570 Logs backed up on restart are kept forever
- Closed