: I have a question for installing solr server. Using '
: install_solr_service.sh' with option -d , the solr home directory can be
: set. But the default log directory is under $SOLR_HOME/logs.
: Is it possible to specify the logs directory separately from solr home directory during installation?
install_solr_service.sh doesn't do anything special as far where logs
should live -- it just writes out a (default) "/etc/default/$SOLR_SERVICE.in.sh" (if
it doesn't already exist) that specifies a (default) log directory for
solr to use once the service starts
you are absolutely expected to overwrite that "$SOLR_SERVICE.in.sh" file
with your own specific settings -- in fact you *must* to configure things
like ZooKeeper or SSL -- after the installation script finishes, and you
are welcome to change the SOLR_LOGS_DIR setting to anything you want.