Re: Best practice for rotating solr logs

2012-06-03 Thread solr_noob
I don't like the idea of restarting solr, since restarting it will empty the query cache. Bill, you mentioned using log4j. What are the steps involved to get log4j to do the log rotation? -- View this message in context: http://lucene.472066.n3.nabble.com/Best-practice-for-rotating-solr

Re: Best practice for rotating solr logs

2011-03-31 Thread Bill Bell
I would no recommend a restart. You can use log4j to do this without a restart. Bill Bell Sent from mobile On Mar 31, 2011, at 11:54 AM, Paul wrote: > I'm about to set up log rotation using logrotate, but I have a > question about how to do it. > > The general examples imply that one should i

Best practice for rotating solr logs

2011-03-31 Thread Paul
I'm about to set up log rotation using logrotate, but I have a question about how to do it. The general examples imply that one should include the following in the script: postrotate /sbin/service solr restart endscript but it seems to me that any requests that come in during that restart proces