mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 10:42:21 -05:00
IMAP: remove additional logging
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2138 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
1b5b678a2b
commit
c29727941a
@ -3,7 +3,7 @@
|
|||||||
%{?!davmail_gid: %define davmail_gid 213}
|
%{?!davmail_gid: %define davmail_gid 213}
|
||||||
|
|
||||||
%{?!davrel: %define davrel 4.3.2}
|
%{?!davrel: %define davrel 4.3.2}
|
||||||
%{?!davsvn: %define davsvn 2137}
|
%{?!davsvn: %define davsvn 2138}
|
||||||
%define davver %{davrel}-%{davsvn}
|
%define davver %{davrel}-%{davsvn}
|
||||||
%ifarch i386 i586 i686
|
%ifarch i386 i586 i686
|
||||||
%define davarch x86
|
%define davarch x86
|
||||||
|
@ -958,7 +958,7 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
buffer.append(" {").append(baos.size()).append('}');
|
buffer.append(" {").append(baos.size()).append('}');
|
||||||
sendClient(buffer.toString());
|
sendClient(buffer.toString());
|
||||||
// log content if less than 2K
|
// log content if less than 2K
|
||||||
if (LOGGER.isDebugEnabled() /*&& baos.size() < 2048*/) {
|
if (LOGGER.isDebugEnabled() && baos.size() < 2048) {
|
||||||
LOGGER.debug(new String(baos.toByteArray(), "UTF-8"));
|
LOGGER.debug(new String(baos.toByteArray(), "UTF-8"));
|
||||||
}
|
}
|
||||||
os.write(baos.toByteArray());
|
os.write(baos.toByteArray());
|
||||||
|
Loading…
Reference in New Issue
Block a user