Disable HttpClient logging

Update log4j.properties to include: log4j.logger.httpclient.wire.header=WARN log4j.logger.httpclient.wire.content=WARN Note that if Log4j library is not installed, HttpClient (and therefore JWebUnit) will use logback. In this situation, create or edit logback.xml to include: <configuration> <logger name=”org.apache” level=”WARN” /> <logger name=”httpclient” level=”WARN” /> </configuration> Setting the log level to WARN with Log4j using the package name org.apache.commons.httpclient in log4j.properties … Read more