2 Replies Latest reply on Feb 11, 2011 7:42 AM by Thomas Nagel

    Q: Format of jboss-logging.xml in AS6

    Thomas Nagel Newbie

      Hello Collegues,

       

      the format of the configuration file obviously has changed between JBoss 4 and 6, but I can't find a link to the new format.

       

      We used to do some application specific logging in separate files using several appenders like the following:

       

         <appender name="LOG_FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">

           <param name="File" value="/var/log/jboss/baslog/BASIS-WEB.log"/>

           <param name="Append" value="true"/>

           <param name="Threshold" value="INFO"/>

           <!-- Rollover at midnight each day -->

           <param name="DatePattern" value="'.'yyyy-MM-dd"/>

           <layout class="org.apache.log4j.PatternLayout">

             <!-- The default pattern: Date Priority [Category] Message\n -->

             <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>

           </layout>

         </appender>

       

      Where can I find come information to migrate this to the new format?

       

      Regards from Germany,

      Thomas Nagel