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