mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
remove unneeded logs in notification file
This commit is contained in:
parent
4a7fe58fba
commit
27585b7a26
@ -310,16 +310,14 @@ class Notification extends NotificationHandler {
|
||||
* Closes the active notification after certain period
|
||||
*/
|
||||
private cleanUpInactiveNotification() {
|
||||
logger.info('active notification', this.activeNotifications.length);
|
||||
logger.info('inactive notification', this.inactiveWindows.length);
|
||||
if (this.inactiveWindows.length > 0) {
|
||||
logger.info('cleaning up inactive notification windows', { inactiveNotification: this.inactiveWindows.length });
|
||||
logger.info('notification: cleaning up inactive notification windows', {inactiveNotification: this.inactiveWindows.length});
|
||||
this.inactiveWindows.forEach((window) => {
|
||||
if (windowExists(window)) {
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
logger.info(`Cleaned up inactive notification windows`, { inactiveNotification: this.inactiveWindows.length });
|
||||
logger.info(`notification: cleaned up inactive notification windows`, {inactiveNotification: this.inactiveWindows.length});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user