From f95fce2c850adacacf15d59be6b28f2a4f754135 Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Mon, 29 Aug 2022 09:19:58 -0400 Subject: [PATCH] Remove notification logging from info (#2245) --- src/main/notifications/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/notifications/index.ts b/src/main/notifications/index.ts index 31be5b0e..23c2dfb1 100644 --- a/src/main/notifications/index.ts +++ b/src/main/notifications/index.ts @@ -50,7 +50,7 @@ export function displayMention(title: string, body: string, channel: {id: string // On Windows, manually dismiss notifications from the same channel and only show the latest one if (process.platform === 'win32') { if (currentNotifications.has(mentionKey)) { - log.info(`close ${mentionKey}`); + log.debug(`close ${mentionKey}`); currentNotifications.get(mentionKey).close(); currentNotifications.delete(mentionKey); } @@ -64,7 +64,7 @@ export function displayMention(title: string, body: string, channel: {id: string }); mention.on('click', () => { - log.info('notification click', serverName, mention); + log.debug('notification click', serverName, mention); if (serverName) { WindowManager.switchTab(serverName, TAB_MESSAGING); webcontents.send('notification-clicked', {channel, teamId, url});