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
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
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).