Re: Append to new solr.log file daily

2016-08-20 Thread Zheng Lin Edwin Yeo
Hi Alexandre, Thanks for your reply. This is what is in my log4j.properties file. # Logging level log4j.rootLogger=INFO, stderr # log to stderr log4j.appender.stderr = org.apache.log4j.ConsoleAppender log4j.appender.stderr.Target = System.err log4j.appender.stderr.layout = org.apache.log4j.Pat

Re: Append to new solr.log file daily

2016-08-19 Thread Alexandre Rafalovitch
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 L

Append to new solr.log file daily

2016-08-19 Thread Zheng Lin Edwin Yeo
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).