mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-28 19:24:32 +08:00
renamed _session to _sess for gelf
This commit is contained in:
parent
da9a3100cb
commit
fdea1d3a35
5 changed files with 9 additions and 9 deletions
|
@ -363,7 +363,7 @@ class IMAPConnection extends EventEmitter {
|
|||
short_message: '[CONNRELEASE] Connection released for ' + this.user.id,
|
||||
_connection: 'release',
|
||||
_service: 'imap',
|
||||
_session: this.session && this.session.id,
|
||||
_sess: this.session && this.session.id,
|
||||
_user: this.user.id,
|
||||
_cid: this.id,
|
||||
_ip: this.remoteAddress
|
||||
|
|
|
@ -50,7 +50,7 @@ module.exports = (server, userHandler, userCache) => (login, session, callback)
|
|||
short_message: '[CONNSTART] Connection established for ' + result.user,
|
||||
_connection: 'establish',
|
||||
_service: 'imap',
|
||||
_session: session && session.id,
|
||||
_sess: session && session.id,
|
||||
_user: result.user,
|
||||
_cid: connection.id,
|
||||
_ip: connection.remoteAddress,
|
||||
|
@ -61,7 +61,7 @@ module.exports = (server, userHandler, userCache) => (login, session, callback)
|
|||
short_message: '[CONNFAILED] Connection failed for ' + result.user,
|
||||
_connection: 'limited',
|
||||
_service: 'imap',
|
||||
_session: session && session.id,
|
||||
_sess: session && session.id,
|
||||
_user: result.user,
|
||||
_cid: connection.id,
|
||||
_ip: connection.remoteAddress,
|
||||
|
|
|
@ -93,7 +93,7 @@ module.exports = (server, messageHandler) => (mailbox, update, session, callback
|
|||
_copied_messages: copiedMessages,
|
||||
_storage_used: r.value.storageUsed,
|
||||
_mailbox: targetData._id,
|
||||
_session: session && session.id
|
||||
_sess: session && session.id
|
||||
});
|
||||
}
|
||||
next();
|
||||
|
|
|
@ -331,7 +331,7 @@ class MessageHandler {
|
|||
_user: mailboxData.user,
|
||||
_inc: size,
|
||||
_storage_used: r.value.storageUsed,
|
||||
_session: options.session && options.session.id,
|
||||
_sess: options.session && options.session.id,
|
||||
_mailbox: mailboxData._id
|
||||
});
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ class MessageHandler {
|
|||
_user: mailboxData.user,
|
||||
_inc: -size,
|
||||
_storage_used: r.value.storageUsed,
|
||||
_session: options.session && options.session.id,
|
||||
_sess: options.session && options.session.id,
|
||||
_mailbox: mailboxData._id,
|
||||
_rollback: 'yes',
|
||||
_error: err.message,
|
||||
|
@ -554,7 +554,7 @@ class MessageHandler {
|
|||
_user: user,
|
||||
_inc: inc.storageUsed,
|
||||
_storage_used: r.value.storageUsed,
|
||||
_session: options.session && options.session.id,
|
||||
_sess: options.session && options.session.id,
|
||||
_mailbox: inc.mailbox
|
||||
});
|
||||
}
|
||||
|
@ -602,7 +602,7 @@ class MessageHandler {
|
|||
_uid: messageData.uid,
|
||||
_message_id: messageData._id,
|
||||
_expires: messageData.rdate,
|
||||
_session: options.session && options.session.id,
|
||||
_sess: options.session && options.session.id,
|
||||
_size: messageData.size
|
||||
});
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ module.exports = (taskData, options, callback) => {
|
|||
_set: Number(storageUsed) || 0,
|
||||
_previous_storage_used: r.value.storageUsed,
|
||||
_storage_used: Number(storageUsed) || 0,
|
||||
_session: 'task.quota.' + taskData._id
|
||||
_sess: 'task.quota.' + taskData._id
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue