Disable caldav message body logging

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@183 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-11-29 14:37:37 +00:00
parent 3e43112754
commit 1f5eb0d983
2 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,8 @@ public class AbstractConnection extends Thread {
public void sendClient(byte[] messageBytes) throws IOException { public void sendClient(byte[] messageBytes) throws IOException {
StringBuffer logBuffer = new StringBuffer("> "); StringBuffer logBuffer = new StringBuffer("> ");
logBuffer.append(new String(messageBytes)); logBuffer.append(new String(messageBytes));
DavGatewayTray.debug(logBuffer.toString()); // TODO : create a wire debug level
// DavGatewayTray.debug(logBuffer.toString());
os.write(messageBytes); os.write(messageBytes);
os.flush(); os.flush();
} }

View File

@ -61,7 +61,8 @@ public class CaldavConnection extends AbstractConnection {
throw new IOException("End of stream reached reading content"); throw new IOException("End of stream reached reading content");
} }
String result = new String(buffer, 0, actualSize); String result = new String(buffer, 0, actualSize);
DavGatewayTray.debug("< " + result); // TODO : create a wire debug level
// DavGatewayTray.debug("< " + result);
return result; return result;
} }
} }