LOG4J

From DOC

Jump to: navigation, search

Contents

JBoss

We have provided a complete replacement for this file which dramatically reduces the amount of informational output for most non-Tolven components. All errors and warnings are still displayed. A few debug messages are also displayed. You can download this file from Tolven extras. Just replace it in the tolven-jboss-4.2.2.GA/server/tolven/conf folder.

TPF

You can also customize the log4j configuration used by TPF - it is located in the Tolven installation folder under the bin sub-folder as tolven-log4j.xml.

Hibernate SQL Trace

Hibernate can be configured to show generated SQL commands. Simply uncomment the following category:

   <category name="org.hibernate.SQL">
      <priority value="DEBUG"/>
   </category>

Tracing Rule Execution

The default will display all rules as they fire. You can turn this off by commenting:

   <!-- Debug for Tolven Rules  -->
   <category name="org.tolven.rules">
      <priority value="DEBUG"/>
   </category>


For more information on Log4j

see: Apache's Log4J Manual

For example, you can change the Pattern Layout to display, for example, thread id.

Personal tools