There are 2 updates.
 
 
XWiki Commons / cid:jira-generated-image-avatar-6f403271-02ee-4c4e-b162-a7cf0fdb833e XCOMMONS-3849 Open

Add a helper to redirect java.util.logging to SLF4J

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-cf1b0894-0e30-40bb-9e6c-7915be2c95b3 Changes by Thomas Mortagne on 22/Oct/26 14:42
 
Summary: Add dependency management for jul- a helper to -slf4j redirect java.util.logging to SLF4J
Description: Manage Add an internal helper ({{org.xwiki.logging.internal.JavaUtilLoggingBridge}}, in {{xwiki-commons-logging-api}}) to redirect the version logs produced with java.util.logging to SLF4J: it replaces the handlers of the java.util.logging root logger with SLF4J's {{ SLF4JBridgeHandler}}, and puts them back when uninstalled.

It relies on {{
org.slf4j:jul-to-slf4j}} , whose version is now managed like the other SLF4J bridges ({{jcl-over-slf4j}} , and which is an optional dependency of {{ log4j xwiki - over commons - slf4j logging-api }} (the applications using the helper need to depend on it themselves ) , so that .

It's used by
XWiki Platform can use it to redirect the java.util.logging logs to SLF4J (XWIKI-25494).