hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bindul Bhowmik" <bindulbhow...@gmail.com>
Subject Re: Obtaining a Wire Trace
Date Fri, 07 Apr 2006 05:48:23 GMT
Hello Tom,

The name of the loggers used for logging wire data (that is sent over
the network) in httpclient does not have "org.apache.commons"
prepended to them.

So instead of setting

>
> org.apache.commons.httpclient.wire.level=FINEST
>

try setting
httpclient.wire.level=FINEST

HTH
Bindul



On 4/6/06, Gerdes, Tom <TGerdes@oldrepublictitle.com> wrote:
> I am using the JVM on an IBM Iseries to run my java application that
> uses Httpclient.  I have found that the logging used by the JVM is the
> "org.apache.commons.logging.impl.Jdk14Logger" logger.  I followed the
> Httpclient Commons Logging examples on the web site.  Configuring my
> "logging.properties" file as follows.
>
>
>
> java.util.logging.ConsoleHandler.level=FINEST
>
>
>
> handlers=java.util.logging.ConsoleHandler
>
> java.util.logging.ConsoleHandler.formatter =
> java.util.logging.SimpleFormatter
>
>
>
> org.apache.commons.httpclient.wire.level=FINEST
>
>
>
> org.apache.commons.httpclient.level=FINEST
>
>
>
>
>
> This gives me much detail that is helpful.  Although it still does not
> print the Request Body (exactly as it is being sent over the wire).   I
> would like it to be sent directly to the Console.  That would be the
> easiest for me for debugging.   Is this the correct configuration to get
> information sent to the Console or is it being sent somewhere else.
>
>
>
> Any suggestions for obtaining the wire trace would be greatly
> appreciated!
>
>
>

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


Mime
View raw message