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:
parent
3e43112754
commit
1f5eb0d983
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user