diff --git a/src/main/java/org/apache/xmlbeans/impl/logging/XmlBeansLogManager.java b/src/main/java/org/apache/xmlbeans/impl/logging/XmlBeansLogManager.java index 5300a3ae4..c22d2a14a 100644 --- a/src/main/java/org/apache/xmlbeans/impl/logging/XmlBeansLogManager.java +++ b/src/main/java/org/apache/xmlbeans/impl/logging/XmlBeansLogManager.java @@ -42,7 +42,7 @@ public static Logger getLogger(Class clz) { if (logger == null) { if (time > LAST_TIME + SLEEP_TIME) { LAST_TIME = time; - System.err.println("Log4J returned null logger. Falling back to No-Op logger."); + System.err.println("[XmlBeansLogManager] Log4J returned null logger. Falling back to No-Op logger."); } return NoOpLogger.INSTANCE; } @@ -51,7 +51,7 @@ public static Logger getLogger(Class clz) { if (!ExceptionUtil.isFatal(t)) { if (time > LAST_TIME + SLEEP_TIME) { LAST_TIME = time; - System.err.println("Issue loading Log4J. Falling back to No-Op logger."); + System.err.println("[XmlBeansLogManager] Issue loading Log4J. Falling back to No-Op logger."); t.printStackTrace(); } }