1 Reply Latest reply on Jun 29, 2010 3:14 AM by Craig

    log4j.xml in a EAR (Seam MDC)

    joe Koch Newbie
      Hi,
      we would like to log users in our application. We use Seam 2.0.1-GA with SeamFilter configured in the web.xml and logging-filter in components.xml as below.

      <filter>
      <filter-name>Seam Filter</filter-name>
            <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
      </filter>

      <web:logging-filter url-pattern=”*.seam”/>

      Our application is packed as an ear and we would like to add the log4j.xml into the ear. Where exactly? We don’t want to use the $JBOSS/server/default/conf/jboss-log4j.xml
      We got the following modules
      webfrontend.war, ourEJB3.ear, seam-ejb.ear, seam-el.jar

      Thanks for any help