[DOCU-439] Jboss AS 7 log4j configuration Created: 19/Jul/13  Updated: 26/Aug/14  Resolved: 23/Jul/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Jaroslav Simak Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-4975 Log4j is not working correctly on JBo... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 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>


 Comments   
Comment by Antti Hietala [ 23/Jul/13 ]

Documented:

Generated at Mon Feb 12 01:09:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.