diff --git a/core/src/main/java/com/github/weisj/darklaf/LafManager.java b/core/src/main/java/com/github/weisj/darklaf/LafManager.java index 5a3f0115..ddec6405 100644 --- a/core/src/main/java/com/github/weisj/darklaf/LafManager.java +++ b/core/src/main/java/com/github/weisj/darklaf/LafManager.java @@ -65,10 +65,10 @@ public final class LafManager { try (InputStream inputStream = DarkLaf.class.getClassLoader() .getResourceAsStream("com/github/weisj/darklaf/log/logging.properties")) { if (inputStream != null) { - Logger.getGlobal().info("Loading logging configuration."); + Logger.getGlobal().fine("Loading logging configuration."); LogManager.getLogManager().readConfiguration(inputStream); } - Logger.getGlobal().info("Loaded logging config" + LogManager.getLogManager().toString()); + Logger.getGlobal().fine(() -> "Loaded logging config" + LogManager.getLogManager().toString()); } catch (IOException e) { Logger.getGlobal().log(Level.SEVERE, "init logging system", e); } diff --git a/core/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java b/core/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java index e3fe32c2..a1dc4533 100644 --- a/core/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java +++ b/core/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java @@ -87,7 +87,7 @@ public class DarkSVGIcon implements Icon, Serializable { private void ensureLoaded() { if (!loaded.get()) { - LOGGER.info("Loading icon '" + uri.toASCIIString() + "'."); + LOGGER.fine(() -> "Loading icon '" + uri.toASCIIString() + "'."); icon.setSvgURI(uri); loaded.set(true); } diff --git a/core/src/main/java/com/github/weisj/darklaf/icons/LazyIcon.java b/core/src/main/java/com/github/weisj/darklaf/icons/LazyIcon.java index 50ebb6d5..da983272 100644 --- a/core/src/main/java/com/github/weisj/darklaf/icons/LazyIcon.java +++ b/core/src/main/java/com/github/weisj/darklaf/icons/LazyIcon.java @@ -55,7 +55,7 @@ public abstract class LazyIcon implements Icon, UIResource { private void ensureLoaded() { if (!loaded) { - LOGGER.info("Loading icon '" + path + "'. Resolving from " + parentClass); + LOGGER.fine(() -> "Loading icon '" + path + "'. Resolving from " + parentClass); icon = loadIcon(); loaded = true; if (icon == null) {