Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit 12e98a5

Browse files
authored
Support for wildlfy 27 #297
Willdfly 27 switched from log4jv1 to log4jv2. In practice the only change needed is to point `module.xml` to `org.apache.logging.log4j` instead of `org.apache.log4j`. To make this change backwards compatible we point to both modules optionally. Validated on wildfly 25 (log4jv1) and 27 (log4jv2).
1 parent efb6d11 commit 12e98a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/assembly/module.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
</resources>
99

1010
<dependencies>
11-
<module name="org.apache.log4j" />
11+
<module name="org.apache.log4j" optional="true"/>
12+
<module name="org.apache.logging.log4j" optional="true"/>
1213
<module name="org.slf4j" />
1314
<module name="javax.api" />
1415
<module name="org.jboss.logmanager" />

0 commit comments

Comments
 (0)