On 10/2/2017 8:39 AM, Noriyuki TAKEI wrote: > HI,All > > When I restart Solr Service, solr.log is rotated as below. > > solr.log.1 > solr.log.2 > solr.log.3 > ... > > I would like to stop this rotation.
To keep Solr startup from rotating the logfile, you'll need to edit the bin/solr or bin\solr.cmd script and remove the lofgile renaming. That is not the only thing that rotates the logfile, though. The default log4j.properties file that comes with Solr rotates when solr.log reaches 4 megabytes. See the log4j documentation for details about how to change that configuration. Thanks, Shawn