Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
When (re)starting Solr, the start script will backup any existing solr.log or solr_gc.log to a file solr_log_<date> and solr_gc_log_<date> respectively. That may be all good, but these old copies are never cleaned up, as they are not under the control of log4j.
This issue will instead rotate solr.log properly on startup, delete old time-stamped files taking up place, back up (one generation only) of console-log and solr_gc.log in $SOLR_LOGS_DIR/archived/.