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! 

Reply via email to