@@ -0,0 +1,1224 @@
+/**%0A * Copyright (c) 2015 Apereo%0A *%0A * Licensed under the Educational Community License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *             http://opensource.org/licenses/ecl2%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.sakaiproject.sentry.filter;%0A%0Aimport org.apache.log4j.spi.Filter;%0Aimport org.apache.log4j.spi.LoggingEvent;%0A%0A/**%0A * This is a simple filter that denies any message if it doesn't contain any%0A * %7B@link java.lang.Throwable Throwable%7D.%0A *%0A * The use of this filter implies filtering of messages.%0A *%0A * @author Earle Nietzel (earle.nietzel@gmail.com)%0A *%0A */%0Apublic class ThrowableInfoOnlyFilter extends Filter %7B%0A%0A    @Override%0A    public int decide(LoggingEvent event) %7B%0A        if (event.getThrowableInformation() == null) %7B%0A            return Filter.DENY;%0A        %7D%0A        return Filter.NEUTRAL;%0A    %7D%0A%7D

Add a new filter that denies any event with no throwable information