Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-439

Jboss AS 7 log4j configuration

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    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

            Activity

              People

                ahietala Antti Hietala
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR