title: Apache commons HTTPClient and log4j.xml
body: <p>I'm using Apache commons HTTPClient with Apache Axis 1.5 and I'm trying to log the messages exchanged when making Web Service calls by enabling org.apache.commons.httpclient to DEBUG and httpclient.wire to DEBUG. However, this doesn't work. Mentioned below is my log4j.xml - can someone help me?
  Thanks</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&gt;
  &lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&gt;
  &lt;appender name="rolling" class="org.apache.log4j.DailyRollingFileAppender"&gt;
      &lt;param name="File" value="test.log" /&gt;
  &lt;layout class="org.apache.log4j.PatternLayout"&gt;
          &lt;param name="ConversionPattern" value="%d [%t] %-5p %c:%L - %m%n"/&gt;
  &lt;/layout&gt;
  &lt;/appender&gt;
  &lt;logger name="org.apache.commons.httpclient"&gt;
      &lt;level value="DEBUG"/&gt;
  &lt;/logger&gt;
  &lt;logger name="httpclient.wire"&gt;
  &lt;level value="DEBUG"/&gt;
  &lt;/logger&gt;
  &lt;root&gt;
  &lt;level value="DEBUG" /&gt;
  &lt;appender-ref ref="rolling"/&gt;
  &lt;/root&gt;
  
  
  &lt;/log4j:configuration&gt;
  </code></pre>