ariba.util.log
Class AvoidDuplicateEvents

java.lang.Object
  extended by org.apache.log4j.spi.Filter
      extended by ariba.util.log.AvoidDuplicateEvents
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class AvoidDuplicateEvents
extends org.apache.log4j.spi.Filter

A simple Filter to filter out duplicate log messages so they won't get printed multiple times.


Field Summary
 
Fields inherited from class org.apache.log4j.spi.Filter
ACCEPT, DENY, NEUTRAL, next
 
Constructor Summary
AvoidDuplicateEvents()
          Empty contructor.
 
Method Summary
 int decide(org.apache.log4j.spi.LoggingEvent event)
           
 
Methods inherited from class org.apache.log4j.spi.Filter
activateOptions, getNext, setNext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvoidDuplicateEvents

public AvoidDuplicateEvents()
Empty contructor.

Method Detail

decide

public int decide(org.apache.log4j.spi.LoggingEvent event)
Specified by:
decide in class org.apache.log4j.spi.Filter


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.