diff --git a/utility-logging/src/main/java/com/dua3/utility/logging/LogUtil.java b/utility-logging/src/main/java/com/dua3/utility/logging/LogUtil.java index 661c0f8d..ec85f852 100644 --- a/utility-logging/src/main/java/com/dua3/utility/logging/LogUtil.java +++ b/utility-logging/src/main/java/com/dua3/utility/logging/LogUtil.java @@ -10,7 +10,8 @@ * Utility class for logging operations. */ public final class LogUtil { - private LogUtil() {} + private LogUtil() { + } private static final Logger LOG = LogManager.getLogger(LogUtil.class); @@ -33,7 +34,7 @@ public static LogEntryDispatcher getGlobalDispatcher() { } LOG.debug("factory {} did not return a dispatcher", factory.getClass()); } catch (Exception e) { - LOG.warn("factory {} threw an exception when trying to create a dispatcher", e); + LOG.warn("factory {} threw an exception when trying to create a dispatcher", factory.getClass().getName(), e); } } throw new ServiceConfigurationError("no factories left to try - could not create a dispatcher");