tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Darbro <>
Subject Trying to filter noise from catalina.out.
Date Tue, 04 Nov 2014 23:12:30 GMT
Looking for configuration help.

Using tomcat7 7.0.34 from rpm package tomcat7-7.0.34-3.jpp6.noarch.

Followed the instructions for using log4j for catalina.out found here:

Took the example file from the instructions above,
corrected the logging paths for /var/log/tomcat7, and put it through a
properties to xml converter.  Replaced with log4j.xml,
and logging is working.

Now we want to try and filter out an Exception we are willing to live
with, but can't have overflowing our log.

Added the following filter:
    <filter class="org.apache.log4j.filter.ExpressionFilter">
        <param name="expression" value="EXCEPTION ~=" />
        <param name="acceptOnMatch" value="false"/>

Yet we continue to get the exception in the log:

Nov 4, 2014 1:52:45 PM
SEVERE: Exception on replication of putNotification. error marshalling
arguments; nested exception is: Continuing...
java.rmi.MarshalException: error marshalling arguments; nested exception
        at sun.rmi.server.UnicastRef.invoke(
Caused by:

What am I doing wrong?  Full xml and/or log of error available if requested.

*Brandon Darbro

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message