This _should_ be controlled by the resources/log4j.properties file. Which I thought was configured to have a rolling append.
What does yours have? Regards, Alex. ---- Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 19 August 2016 at 17:47, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > I found that all the logs in Solr are appended in the same solr.log file > until Solr is restarted. If I keep Solr running for several weeks without > restarting (which should be the case in production environment), the size > of the solr.log can be very large (more than several GB in some cases). > > Is it possible to do some configuration, so that the log is append to a new > solr.log file every day, instead of until Solr is restarted? This will make > reviewing of the logs much easier. > > I'm using Solr 6.1.0 > > Regards, > Edwin