1 Reply Latest reply on Dec 12, 2012 8:43 AM by wdfink

    Using log4j in the whole Jboss AS7

    saba0815

      Hi,

      I am currently migrating from Jboss AS 4.3 to Jboss AS 7.1.2.

       

      In v4 log4j was instrumented for the whole server instance through conf/jboss-log4j.xml. Can i also switch to log4j in v7 for every logging? Where do i put the log4j.xml and activate it?

       

      Thanks for any help.

        • 1. Re: Using log4j in the whole Jboss AS7
          wdfink

          The server logging is base on the jboss logging subsystem.

          The configuration looks similar to the log4j xml but is inside the standalone or domain xml configuration.

           

          It dosn't matter whether you use log4j code inside your application, the configuration catch it.

           

          But you can use a application specific log4j configuration, I suppose there are some threads with explanations.