mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-07 16:38:17 +08:00
updated logging
This commit is contained in:
parent
df3d3391bd
commit
e8fbd9c67d
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ class MemoryNotifier extends EventEmitter {
|
|||
let eventName = this._eventName(session.user.username, mailbox);
|
||||
this._listeners.addListener(eventName, handler);
|
||||
|
||||
this.logger.debug('New journal listener for %s ("%s:%s")', eventName, session.user.username, mailbox);
|
||||
this.logger.debug('[%s] New journal listener for %s ("%s:%s")', session.id, eventName, session.user.username, mailbox);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -66,7 +66,7 @@ class MemoryNotifier extends EventEmitter {
|
|||
let eventName = this._eventName(session.user.username, mailbox);
|
||||
this._listeners.removeListener(eventName, handler);
|
||||
|
||||
this.logger.debug('Removed journal listener from %s ("%s:%s")', eventName, session.user.username, mailbox);
|
||||
this.logger.debug('[%s] Removed journal listener from %s ("%s:%s")', session.id, eventName, session.user.username, mailbox);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue