title: Issues exposing Http Client logs with Log4j2
body: <p>Problems exposing HTTP client logs through Log4j2.
  I was able to expose the logs with log4j v1, but it's not working with log4j2. </p>
  
  <p>Checked the transactive dependencies of http client v4 and it uses common logging. So I passed log4j-jcl.jar at runtime since its a bridge. But it's not working </p>
  
  <p>Dependencies used:</p>
  
  <p>Http Dependencies:</p>
  
  <pre><code>&lt;dependency&gt;
                  &lt;groupId&gt;com.dictao.util&lt;/groupId&gt;
                  &lt;artifactId&gt;dictao-util-net&lt;/artifactId&gt;
                  &lt;version&gt;${dictao.common.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
                  &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
                  &lt;version&gt;4.5.6&lt;/version&gt;
             &lt;/dependency&gt;
             &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
                  &lt;artifactId&gt;httpmime&lt;/artifactId&gt;
                  &lt;version&gt;4.5.6&lt;/version&gt;
             &lt;/dependency&gt;
  </code></pre>
  
  <p>Bridge Dependency:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.logging.log4j&lt;/groupId&gt;
    &lt;artifactId&gt;log4j-jcl&lt;/artifactId&gt;
    &lt;version&gt;2.11.2&lt;/version&gt;
  &lt;scope&gt;runtime&lt;/scope&gt;
  &lt;/dependency&gt; 
  </code></pre>
  
  <p>For Log4j1:</p>
  
  <pre><code>log4j.logger.org.apache.http.impl.conn=DEBUG 
  log4j.logger.org.apache.http.impl.client=DEBUG 
  log4j.logger.org.apache.http.client=DEBUG 
  log4j.logger.org.apache.http=DEBUG 
  </code></pre>
  
  <p>Passing the same thing in Log4j2,but no result.</p>
  
  <p>Output: No error and no log file is generated.</p>