Skip to content

Commit

Permalink
do not log fetch and expunge info to graylog
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Nov 26, 2019
1 parent 56dcd53 commit 512bf5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imap-core/lib/commands/expunge.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = {
}

logdata._response = success;
this._server.loggelf(logdata);
//this._server.loggelf(logdata);

callback(null, {
response: success === true ? 'OK' : 'NO',
Expand Down
2 changes: 1 addition & 1 deletion imap-core/lib/commands/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ module.exports = {
}

logdata._response = success;
this._server.loggelf(logdata);
// this._server.loggelf(logdata);

callback(null, {
response: success === true ? 'OK' : 'NO',
Expand Down
2 changes: 1 addition & 1 deletion lib/handlers/on-expunge.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = (server, messageHandler) => (mailbox, update, session, callback
return updateQuota(() => callback(err));
}
if (!messageData) {
server.loggelf(logdata);
//server.loggelf(logdata);

return cursor.close(() => {
server.notifier.fire(session.user.id);
Expand Down

0 comments on commit 512bf5a

Please sign in to comment.