Re: writing logs of a speicific solr posting to a file
Hi I found the commit for this requirement under https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x Great work.:) I have SVN checked out the repo under my local folder and I am trying to compile and generate a post.jar for the same but somehow I have been failing due to the dependencies issue which I have not been able to figure out. Can you please help me with the post.jar file.I have not been able to build one. -- View this message in context: http://lucene.472066.n3.nabble.com/writing-logs-of-a-speicific-solr-posting-to-a-file-tp4140730p4141630.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: writing logs of a speicific solr posting to a file
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 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. >
writing logs of a speicific solr posting to a file
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.