From 5c42bafd624bbda672762c938aa4b17bb6a44a08 Mon Sep 17 00:00:00 2001 From: leewyatt Date: Fri, 31 May 2024 23:27:39 +0900 Subject: [PATCH] Update logging level and add key details in PreferencesHistoryManager The logging level in PreferencesHistoryManager has been changed from info to finest. Additionally, the key related to the stored and loaded history items has been added to the log messages for more efficient debugging. --- .../java/com/dlsc/gemsfx/util/PreferencesHistoryManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemsfx/src/main/java/com/dlsc/gemsfx/util/PreferencesHistoryManager.java b/gemsfx/src/main/java/com/dlsc/gemsfx/util/PreferencesHistoryManager.java index 2d455937..053a5ab3 100644 --- a/gemsfx/src/main/java/com/dlsc/gemsfx/util/PreferencesHistoryManager.java +++ b/gemsfx/src/main/java/com/dlsc/gemsfx/util/PreferencesHistoryManager.java @@ -60,7 +60,7 @@ protected void storeHistory() { .map(converter::toString) .collect(Collectors.joining(DELIMITER)); preferences.put(key, result); - LOG.info("Stored history items."); + LOG.finest(String.format("Stored history items with key: '%s'.", key)); } /** @@ -75,6 +75,6 @@ protected void loadHistory() { .map(converter::fromString) .toList()); } - LOG.info("Loaded history items."); + LOG.finest(String.format("Loaded history items with key: '%s'.", key)); } }