Hi All,

solr version: 5.5.0

I was checking to see if there is any quick solution for embedded jetty can
log request access logs too.

After some googling i found documentation (here
<http://www.eclipse.org/jetty/documentation/9.3.x/configuring-jetty-request-logs.html>)
that there is configuration option param --add-to-startd=requestlog which
it looks for and creates and access logs in {$jetty.base}

Initially i started using -a option in startup

for ex:
./solr restart -m 4g -s ${solr.home} -V -a "--add-to-startd=requestlog"  ,
which did not work
basically -a option is used only to pass solr params

Then i went on to change my ./solr script with
 SOLR_JETTY_CONFIG+=("--add-to-startd=requestlog")
.
.... and added echo statement which prints the jetty config params(with
verbose option -V)

if [ "$SOLR_JETTY_CONFIG" != "" ]; then
      echo -e "    SOLR_JETTY_CONFIG        = ${SOLR_JETTY_CONFIG[@]}"
    fi

when i restart the solr server
./solr restart -m 4g -s ${solr.home} -V
the above change prints the below jetty config params, but server does not
start.

can't we pass extra arguments to jetty server from solr start up script or
is there other place that we have to change?


*Thanks,*
*Rajesh**.*

Reply via email to