From 7f3842ddbf884cd14957e3854ca4d6c8b0e66024 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Sun, 28 Sep 2025 20:39:28 -0400 Subject: [PATCH] Log cleanup (avoid super long string with path) --- Commons/I18n.qml | 2 +- Commons/Icons.qml | 2 +- Services/BarService.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Commons/I18n.qml b/Commons/I18n.qml index f55b3310..564f67f2 100644 --- a/Commons/I18n.qml +++ b/Commons/I18n.qml @@ -215,7 +215,7 @@ Singleton { const filePath = `file://${Quickshell.shellDir}/Assets/Translations/${langCode}.json` fileView.path = filePath isLoaded = false - Logger.log("I18n", `Loading translations from: ${filePath}`) + Logger.log("I18n", `Loading translations: ${langCode}`) // Only load fallback translations if we are not using english and english is available if (langCode !== "en" && availableLanguages.includes("en")) { diff --git a/Commons/Icons.qml b/Commons/Icons.qml index 3fca6f5f..88b9b35b 100644 --- a/Commons/Icons.qml +++ b/Commons/Icons.qml @@ -50,7 +50,7 @@ Singleton { } function loadFontWithCacheBusting() { - Logger.log("Icons", "Loading font with cache busting:", cacheBustingPath) + Logger.log("Icons", "Loading font with cache busting") // Destroy old loader first if (currentFontLoader) { diff --git a/Services/BarService.qml b/Services/BarService.qml index ca8ee961..9a28b550 100644 --- a/Services/BarService.qml +++ b/Services/BarService.qml @@ -43,7 +43,7 @@ Singleton { function registerBar(screenName) { if (!readyBars[screenName]) { readyBars[screenName] = true - console.log("ShellStateService: Bar on screen '" + screenName + "' is ready.") + Logger.log("BarService", "Bar is ready on screen:", screenName) barReadyChanged(screenName) } }