Check out the patch on the issue below. We hit the same issue and posted a patch, none of the committers have picked it up yet, but would be good to get some feedback on it and get this into the next dot release. If it works for you, please vote it up.
https://issues.apache.org/jira/browse/SOLR-5940 Thanks, -- *Sameer Maggon* Founder | Measured Search http://measuredsearch.com On Mon, Jun 9, 2014 at 3:48 AM, pshahukhal <pshahuk...@gmail.com> wrote: > Hi > I am using SimplepostTool to post the xml files to SOLR llke : > > java -Durl=http://localhost:8080/solr/collection1/update -jar > /var/lib/tomcat6/solr/collection1/dump/xmlinput/post.jar > /var/lib/tomcat6/solr/collection1/dump/xmlinput/solr.xml > > When there are certain errors ,the response from above command just > shows > the 404 error or 500 server error but doesnt provide the complete log > details like in > http://localhost:8080/solr/#/~logging or in catalina.out > I want to catch the exact log details that are thrown in the logs when > the above command is executed and write to a file .I am wondering if there > are additional params that need to be passed in the command line or I have > to work in the configurations . > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/writing-logs-of-a-speicific-solr-posting-to-a-file-tp4140730.html > Sent from the Solr - User mailing list archive at Nabble.com. >