Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Log levels for third-party libraries used by Fabric3 extensions such as JGroups, Hibernate and ActiveMQ can be set using the monitor provider.levels element in systemConfig.xml (see Monitor Levels). The level name corresponds to the package hierarchy the log level should be applied to. Common examples are provided below.

Hibernate

Code Block
languagexml
<config>
    <runtime>
        <monitor>
            <level name="org.hibernate.sql" value="DEBUG"/>
            <level name="org.hibernate.type" value="DEBUG"/>
        </monitor>
     </runtime>
</config>  

JGroups (Federation)

Code Block
languagexml
<config>
    <runtime>
        <monitor>
            <level name="org.jgroups" value="DEBUG"/>
        </monitor>
     </runtime>
</config>  

ActiveMQ

Code Block
languagexml
<config>
    <runtime>
        <monitor>
            <level name="org.apache.activemq" value="DEBUG"/>
        </monitor>
     </runtime>
</config>