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 <p...@nines.org> 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 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 > process are going to return errors. The other way to do it is to use > > copytruncate > > but that will cause any requests that come in during the time that the > file is being truncated to not appear in the log. > > How do you set up your logrotate file? > > Thanks, > Paul