hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Adams" <st...@drifthost.com>
Subject Log4j with Httpclient 4.x
Date Mon, 02 Jun 2008 01:02:54 GMT
Hi,

I've been trying to get log4j working with httpclient 4.x. 

My properties file looks like the following..

----SNIP----
logj4.logger.org.apache.commons.httpclient=DEBUG, httc
logj4.logger.org.apache.http.wire=DEBUG, httc
logj4.logger.org.apache.http.headers=DEBUG, httc

log4j.appender.httc =org.apache.log4j.FileAppender
log4j.appender.httc.File=logs/httc.log
log4j.appender.httc.layout=org.apache.log4j.PatternLayout
log4j.appender.httc.layout.ConversionPattern=%p %d{dd MMM yyyy HH:mm:ss}
[%t] %c %x - %m%n
----SNIP----

Any ideas?


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message