2 Replies Latest reply on Sep 18, 2013 12:21 PM by James Perkins

    Logging not working after upgrade from JBoss 7.1.1 to JBoss 7.2.0

    Maxim Sharai Newbie

      I have a Liferay portlal on a JBoss server. Logging has broken after upgrade from JBoss 7.1.1 to JBoss 7.2.0. All log message of Liferay and my portlets isn't showing (I use logback logger).

      I have the following configurations:

       

       

      jboss-deployment-structure.xml:

       

      <?xml version="1.0"?>
      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
          <deployment>
              <exclusions>
                  <module name="org.apache.log4j"/>
                  <module name="org.slf4j"/>
                  <module name="org.slf4j.impl"/>
              </exclusions>
              <dependencies>
                  <module name="org.jboss.modules"/>
                  <module name="com.liferay.portal"/>
                  <module name="javax.mail.api"/>
                  <module name="org.apache.commons.io"/>
              </dependencies>
          </deployment>
      </jboss-deployment-structure>
      
      

       

      pom.xml:

       

      <dependency>
          ...
          <groupId>ch.qos.logback</groupId>
              <artifactId>logback-classic</artifactId>
              <version>1.0.13</version>
          </dependency>
          <dependency>
              <groupId>org.slf4j</groupId>
              <artifactId>slf4j-api</artifactId>
              <version>1.7.2</version>
          </dependency>
          <dependency>
              <groupId>org.slf4j</groupId>
              <artifactId>log4j-over-slf4j</artifactId>
              <version>1.7.2</version>
          </dependency>
          <dependency>
              <groupId>org.slf4j</groupId>
              <artifactId>jcl-over-slf4j</artifactId>
              <version>1.7.2</version>
          </dependency>
          ...
      </dependency>
      

       

      Can anybody help me? Thanks!