From e8fbd9c67dba7a37e3e03268f071f03ce80fab1a Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Tue, 16 May 2017 13:59:14 +0300 Subject: [PATCH] updated logging --- imap-core/test/memory-notifier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imap-core/test/memory-notifier.js b/imap-core/test/memory-notifier.js index 331f7550..6e0f7883 100644 --- a/imap-core/test/memory-notifier.js +++ b/imap-core/test/memory-notifier.js @@ -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); } /**