pier 01/07/19 19:31:07 Modified: webapp/java WarpConnection.java Log: Better debugging output (packet types dumped in HEX) Revision Changes Path 1.17 +4 -2 jakarta-tomcat-connectors/webapp/java/WarpConnection.java Index: WarpConnection.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpConnection.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- WarpConnection.java 2001/07/19 23:37:55 1.16 +++ WarpConnection.java 2001/07/20 02:31:07 1.17 @@ -210,7 +210,8 @@ public void send(WarpPacket packet) throws IOException { if (Constants.DEBUG) { - logger.debug(">> TYPE="+packet.getType()+" LENGTH="+packet.size); + String typ=Integer.toHexString(packet.getType()); + logger.debug(">> TYPE="+typ+" LENGTH="+packet.size); logger.debug(">> "+packet.dump()); } @@ -251,7 +252,8 @@ } if (Constants.DEBUG) { - logger.debug("<< TYPE="+packet.getType()+" LENGTH="+packet.size); + String typ=Integer.toHexString(packet.getType()); + logger.debug("<< TYPE="+typ+" LENGTH="+packet.size); logger.debug("<< "+packet.dump()); } }