wanted to ask if a combination of
http-components core 4.0
commons-logging-1.1
log4j-1.2.13

is supposed to be working to produce DEBUG logging

I'm using log4j-1.2.13, commons-logging-1.1.1, and http-core-4.0.

In this configuration I do get logging output from http-core when my log level is set to DEBUG.

Do I possibly need to pass any special args
to things like  HttpRequestExecutor?

My configuration file is
-----------------
log4j.rootLogger=DEBUG,stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n

log4j.logger.org.apache.component=DEBUG,stdout
log4j.logger.httpclient.wire=DEBUG,stdout
log4j.logger.org.apache.commons.httpclient=DEBUG,stdout
log4j.logger.org.openxml4j=DEBUG,stdout
-----------------

The above logger levels seem like what I used in 3.1, IIRC. For 4.0, if I didn't want to get a bunch of wire output dumped to the logger, I had to use something like:

log4j.logger.org.apache.http.wire=INFO
log4j.logger.org.apache.http.headers=INFO
log4j.logger.org.apache.http=INFO

[snip]

-- Ken
--
Ken Krugler
+1 530-210-6378

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to