5.3. Removing Extra Log Messages
By default, the JackRabbit JCR generates the following INFO log messages:
INFO [TransientRepository] Session closed
INFO [TransientRepository] Session closed
The JBoss Enterprise BRMS Platform 5.3.1 standalone package is configured by default not to display these messages; however, users who have installed the JBoss Enterprise BRMS 5.3.1 deployable packages to an existing application server, must configure the server not to display these messages.
JBoss Enterprise Application Platform 5 and JBoss Enterprise SOA 5 users can remove these messages by adding the following XML snippet to
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
jboss-as/server/profile/conf/jboss-log4j.xml
:
<!-- Limit the verbose JackRabbit TransientRepository --> <category name="org.apache.jackrabbit.core.TransientRepository"> <priority value="WARN"/> </category>
<!-- Limit the verbose JackRabbit TransientRepository -->
<category name="org.apache.jackrabbit.core.TransientRepository">
<priority value="WARN"/>
</category>