0 Replies Latest reply on Sep 15, 2004 4:15 AM by Marco Zanker

    logging transactions

    Marco Zanker Newbie

      Hi!

      We are using JBOSS 3.2.5 width JDK 1.4.2.
      I want to get some debug oder tracing information at the console when jboss starts and ends a transaction, but I can't get some.

      Here is my log4j.xml configuration:

      <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
       <param name="Threshold" value="DEBUG"/>
       <param name="Target" value="System.out"/>
       <layout class="org.apache.log4j.PatternLayout">
       <!-- The default pattern: Date Priority [Category] Message\n -->
       <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
       </layout>
      </appender>
      .....
      
      <category name="org.jboss.tm">
       <priority value="TRACE" class="org.jboss.logging.XLevel"/>
      </category>
      
      <category name="org.jboss.resource">
       <priority value="TRACE" class="org.jboss.logging.XLevel"/>
      </category>
      .....
      


      I can see some DEBUG Information from JBOSS, but no transaction information, for example:

      ...
      09:26:53,875 DEBUG [ModelMBeanInvoker] No persistence-manager descriptor found, null persistence wil
      l be used
      09:26:53,875 DEBUG [MBean] postRegister(), parent: jboss.management.local:J2EEServer=Local,j2eeType=
      ServiceModule,name=jboss-service.xml
      09:26:53,875 DEBUG [ServiceModuleFactory] Create MBean, name: jboss.deployment:type=DeploymentScanne
      r,flavor=URL, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=jboss-
      service.xml
      ....
      


      I've also tried this settings with DEBUG and TRACE in various combinations in the "ConsoleAppender Threshold" and the "priority value" of the jboss packages.

      Thanks in advance.