Skip to content

Commit

Permalink
fix log parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Nov 10, 2023
1 parent e21966f commit e509e25
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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");
Expand Down

0 comments on commit e509e25

Please sign in to comment.