1> how did you install/run your Solr? As a service or "regular"? See
the reference guide, "Permanent Logging Settings" for some info on the
difference there.

2> what does your log4j.properties file look like?

Best,
Erick

On Mon, Aug 10, 2015 at 12:13 AM, Adrian Liew <adrian.l...@avanade.com> wrote:
> Hi there,
>
> I am using Solr v.5.2.1 on my local machine. I realized that old log files 
> are not removed in a timely manner by log4j. The logs which I am referring to 
> are the log files that reside within solr_directory\server\logs. So far I 
> have previous two months' worth of log files accumulated in the log 
> directory. Consequently, this causes my directory grow to such large sizes. I 
> will need to manually remove the old log files which is undesirable.
>
> Is this is a bug with Solr or a missing configuration that needs to be set?
>
> As far as I know, all Solr Logging configuration is done in the 
> solr_directory\server\resources\log4j.properties
>
> Appreciate the soonest reply.
>
> Thanks.

Reply via email to