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 {
|
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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue