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

Jboss AS 7 log4j configuration

XMLWordPrintable

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

      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>
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR