DEBUG logging in SolRWriter

92 views
Skip to first unread message

alexmc

unread,
Oct 13, 2013, 3:25:26 PM10/13/13
to digita...@googlegroups.com
Hi, 

I'm not sure if this is Behemoth problem, but how would you normally change the Log4J settings so that Behemoth classes output Debug information? Thanks.

I am changing   file log4j.properties and file task-log4j.properties to add lines like 

log4j.logger.org.digitalpebble.behemoth=DEBUG

(I am using Hortonworks + Ambari which by default puts the config in  /etc/hadoop/conf/) 

However I can't get anything other that INFO and ERROR messages. 


For example I am getting this error - which suggests an incompatibility in the SolR schema - but I don't know for sure because I can't see the 


2013-10-13 20:06:54,526 INFO com.digitalpebble.behemoth.solr.SOLRWriter: Adding mapping for annotation Qualification, feature '*' to  Solr field 'qualification'
2013-10-13 20:06:54,526 INFO com.digitalpebble.behemoth.solr.SOLRWriter: Adding mapping for annotation Person, feature '*' to  Solr field 'person'
2013-10-13 20:06:54,526 INFO com.digitalpebble.behemoth.solr.SOLRWriter: Adding mapping for annotation Skill, feature '*' to  Solr field 'skill'
2013-10-13 20:06:55,137 INFO org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer: starting runner: org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@571a4bd4
2013-10-13 20:07:20,308 INFO org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer: Status for: file:///private_data/real_data/Imagers/AJR/REDACTED%2016.11.06.doc is 400
2013-10-13 20:07:20,309 ERROR org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer: error
java.lang.Exception: Bad Request



request: http://solr02.local.owal.co.uk:8983/solr/update?wt=javabin&version=2
	at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:208)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
2013-10-13 20:07:20,311 INFO org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer: finished: org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner@571a4bd4


DigitalPebble

unread,
Oct 14, 2013, 8:39:24 AM10/14/13
to digita...@googlegroups.com
you are simply using the wrong package name

log4j.logger.com.digitalpebble.behemoth=DEBUG

J.


--
You received this message because you are subscribed to the Google Groups "DigitalPebble" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalpebbl...@googlegroups.com.
To post to this group, send an email to digita...@googlegroups.com.
Visit this group at http://groups.google.com/group/digitalpebble.
For more options, visit https://groups.google.com/groups/opt_out.



--
 
Open Source Solutions for Text Engineering
 
http://digitalpebble.blogspot.com
http://www.digitalpebble.com
Reply all
Reply to author
Forward
0 new messages