You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ralph Pöllath <li...@poellath.org> on 2005/04/13 10:43:08 UTC

HTTPSender#writeToSocket() doesn't seem to log request correctly

Hi,

I'm using axis-1_2RC3 and set the loglevel for 
org.apache.axis.transport.http.HTTPSender to DEBUG.

At the very end of method writeToSocket(), HTTPSender is supposed to 
log the headers and the outgoing request:

if (log.isDebugEnabled()) {
	log.debug(header + new String(baos.toByteArray()));
}

While the headers appear in the log just fine, new 
String(baos.toByteArray()) always evaluates to null.

Is this a bug?

Cheers,
-Ralph.