<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I am using Selenium and HttpClient 4.x (from Apache).</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">At some point in time I decided to start using log4j to log</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">HttpClient's debug output. However I got no output at all. After a</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">total of 28hours of pure work and 70+ messages at 4 different places</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">(mailing groups and forums) and around 20 different (yet not working)</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ideas on how to set up log4j it came down to this:</span>
<div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">When I remove selenium-standalone-2.20-0.jar from the classpath the</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">logging features for HttpClient suddenly start to work. Furthermore -</span><br style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">they work off the bat, without any additional tweaking.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">After digging deeper it was revealed that selenium-standalone-2.20.0.jar is using slf4j</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">and slf4j is rendering both log4j and commons-logging useless. </span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Since selenium is distributed as a single jar + their mailing list is silent about the case I thought I would ask here:</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">How can I render </span><font face="arial, sans-serif">slf4j useless/gone so I can keep using both HttpClient and Selenium?</font></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div>