Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
JBoss uses its own log4j configuration. To use magnolia's log4j config, user needs to create a new file called jboss-deployment-structure.xml under WEB-INF folder with this content:
<jboss-deployment-structure>
<deployment>
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->
<exclusions>
<module name="org.apache.log4j" />
<module name="org.slf4j" />
</exclusions>
</deployment>
</jboss-deployment-structure>
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MAGNOLIA-4975 Log4j is not working correctly on JBoss 7 AS
-
- Closed
-