You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Benson Margulies <be...@basistech.com> on 2015/02/10 02:36:31 UTC

log location when using bin/start

Running bin/start with a command like:

/data/solr-4.10.3/bin/solr start -s $PWD/solr_home -a
"-Djava.library.path=$libdir -Dbt.root=$bt_root\
" "$@"

I note that the logs are ending up in the solr install
dir/examples/logs. Can I move them?

Re: log location when using bin/start

Posted by Timothy Potter <th...@gmail.com>.
The bin/solr script in 4 didn't do a good job at allowing you to control
the location of the redirected console log or gc log, so you'll probably
have to hack that script a bit. The location of the main Solr log can be
configured in the example/resources/log4j.properties

This has been improved in the 5.0 scripts.

On Mon, Feb 9, 2015 at 6:36 PM, Benson Margulies <be...@basistech.com>
wrote:

> Running bin/start with a command like:
>
> /data/solr-4.10.3/bin/solr start -s $PWD/solr_home -a
> "-Djava.library.path=$libdir -Dbt.root=$bt_root\
> " "$@"
>
> I note that the logs are ending up in the solr install
> dir/examples/logs. Can I move them?
>