From f8e64a1b4f414c235d147898faa218612ab0e90c Mon Sep 17 00:00:00 2001 From: Heikki Aitakangas Date: Thu, 13 Jan 2022 01:59:38 +0200 Subject: [PATCH] Reduce log level for the all achievements and player achievements listings --- electron/achievements.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/achievements.js b/electron/achievements.js index 1fc513ce2..ad2fb8dcc 100644 --- a/electron/achievements.js +++ b/electron/achievements.js @@ -9,9 +9,9 @@ async function enableAchievementsInterval(window) { // This is backward but the game fills in an array called `document.achievements` and we retrieve it from // here. Hey if it works it works. const steamAchievements = greenworks.getAchievementNames(); - log.info(`All Steam achievements ${JSON.stringify(steamAchievements)}`); + log.debug(`All Steam achievements ${JSON.stringify(steamAchievements)}`); const playerAchieved = (await Promise.all(steamAchievements.map(checkSteamAchievement))).filter(name => !!name); - log.info(`Player has Steam achievements ${JSON.stringify(playerAchieved)}`); + log.debug(`Player has Steam achievements ${JSON.stringify(playerAchieved)}`); const intervalID = setInterval(async () => { try { const playerAchievements = await window.webContents.executeJavaScript("document.achievements");