How do I specify a different log directory by editing "log4j.properties"?

Steve

On Mon, Oct 26, 2015 at 9:08 PM, Pushkar Raste <pushkar.ra...@gmail.com>
wrote:

> It depends on your case. If you don't mind logs from 3 different instances
> inter-mingled with each other you should be fine.
> You add "-Dsolr.log=<log_directory>" to make logs to go different
> directories. If you want logs to go to same directory but different files
> try updating log4j.properties.
>
> On 26 October 2015 at 13:33, Steven White <swhite4...@gmail.com> wrote:
>
> > Hi,
> >
> > For reasons I have no control over, I'm required to run 2 (maybe more)
> > instances of Solr on the same server (Windows and Linux).  To be more
> > specific, I will need to start each instance like so:
> >
> >   > solr\bin start -p 8983 -s ..\instance_one
> >   > solr\bin start -p 8984 -s ..\instance_two
> >   > solr\bin start -p 8985 -s ..\instance_three
> >
> > Each of those instances is a stand alone Solr (no ZK here at all).
> >
> > I have tested this over and over and did not see any issue.  However, I
> did
> > notice that each instance is writing to the same solr\server\logs\ files
> > (will this be an issue?!!)
> >
> > Is the above something I should avoid?  If so, why?
> >
> > Thanks in advanced !!
> >
> > Steve
> >
>

Reply via email to