From 98dd3a11a8f81791688162452d1443dc1ee06033 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 26 May 2024 17:31:45 +0200 Subject: [PATCH] Print warning when loading overriding jar --- .../java/net/raphimc/viaproxy/util/ClassLoaderPriorityUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/raphimc/viaproxy/util/ClassLoaderPriorityUtil.java b/src/main/java/net/raphimc/viaproxy/util/ClassLoaderPriorityUtil.java index 78fce68..a045024 100644 --- a/src/main/java/net/raphimc/viaproxy/util/ClassLoaderPriorityUtil.java +++ b/src/main/java/net/raphimc/viaproxy/util/ClassLoaderPriorityUtil.java @@ -36,7 +36,7 @@ public class ClassLoaderPriorityUtil { try { if (file.getName().endsWith(".jar")) { ClassLoaders.loadToFront(file.toURI().toURL()); - Logger.LOGGER.info("Loaded overriding jar " + file.getName()); + Logger.LOGGER.warn("Loaded overriding jar " + file.getName()); } } catch (Throwable e) { Logger.LOGGER.error("Failed to load overriding jar " + file.getName(), e);