mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-06 08:02:27 +08:00
do not log fetch responses
This commit is contained in:
parent
d74d13691b
commit
0b09f1d87e
1 changed files with 11 additions and 9 deletions
|
@ -48,15 +48,17 @@ class IMAPComposer extends Transform {
|
||||||
|
|
||||||
let compiled = obj.compiled ? obj.compiled : imapHandler.compiler(obj);
|
let compiled = obj.compiled ? obj.compiled : imapHandler.compiler(obj);
|
||||||
|
|
||||||
this.connection.logger.debug(
|
if (!this.skipFetchLog || (!obj.compiled && this.skipFetchLog)) {
|
||||||
{
|
this.connection.logger.debug(
|
||||||
tnx: 'send',
|
{
|
||||||
cid: this.connection.id
|
tnx: 'send',
|
||||||
},
|
cid: this.connection.id
|
||||||
'[%s] S:',
|
},
|
||||||
this.connection.id,
|
'[%s] S:',
|
||||||
compiled
|
this.connection.id,
|
||||||
);
|
compiled
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
this.push(Buffer.from(compiled + '\r\n', 'binary'));
|
this.push(Buffer.from(compiled + '\r\n', 'binary'));
|
||||||
done();
|
done();
|
||||||
|
|
Loading…
Reference in a new issue