1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

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 {
StringBuffer logBuffer = new StringBuffer("> ");
logBuffer.append(new String(messageBytes));
DavGatewayTray.debug(logBuffer.toString());
// TODO : create a wire debug level
// DavGatewayTray.debug(logBuffer.toString());
os.write(messageBytes);
os.flush();
}

View File

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