Disable apache.http.wire DEBUG logs

Viewed 5505

I'm using Travis CI with my github repo(java project). One of my tests gets data from Dbpedia using SPARQL and Jena. It causes many records i get to be printed in the log into Travis output and thus Travis fails.

A log example for instance:

14:52:58.756 [main] DEBUG org.apache.http.wire - http-outgoing-1 << "    {   
"pname": { "type": "literal", "xml:lang": "en", "value": "Yuen Poovarawan"
 }[0x9], "photo": { "type": "uri", "value": "http://commons.wikimedia.org 
 /wiki/Special:FilePath/Yuen_Poovarawan.jpg?width=300" }[0x9], "birth": { 
"type": "uri", "value": "http://dbpedia.org/resource/Thailand" }[0x9], 
"bDate": { "type": "typed-literal", "datatype": "http://www.w3.org
/2001/XMLSchema#date",   "value": "1950-11-05" }[0x9], "bExp": { "type": 
"uri", "value": "http://dbpedia.org/resource/Thailand" }},[\n]" 

All of these logs start with [main] DEBUG org.apache.http.wire. How can i disable them so Travis passes? I've found how to disable it using scala/logback.xml but the log.xml is defined for console. I need help to use it right, can you please help/guide me?

1 Answers
Related