On 11/4/2014 7:45 AM, Michael Sokolov wrote:
> Shawn this is really weird -- we run log4j in lots of installations
> and have never seen an issue like this.
>
> I wonder if you might be running some other log rotation software
> (like logrotate) that is somehow getting in the way or conflicting?

I did not configure logrotate for my solr logs.  The Solr/Jetty
combination is the only thing on the system that ever writes to those
directories.  I occasionally look at them manually, usually with less or
grep.

[root@idxa1 ~]# ls -ald /etc/logrotate*
-rw-r--r--  1 root root  662 Aug 29  2007 /etc/logrotate.conf
drwxr-xr-x. 2 root root 4096 Apr 11  2014 /etc/logrotate.d
[root@idxa1 ~]# grep -r solr /etc/logrotate*
[root@idxa1 ~]#

I have upgraded jetty, slf4j, and log4j beyond the versions included
with the original download for the Solr version that I'm using, which is
4.7.2.  The versions I'm using for slf4j and log4j are the same versions
that are included in the 4.9 download, though.

Thanks,
Shawn

Reply via email to