psmith      2003/06/22 20:47:21

  Modified:    src/java/org/apache/log4j/plugins Receiver.java
  Log:
  Receiver skeleton now knows nothing about Pausing, and so 
  always posts the event to the repository.
  
  Sub classes may override this method and determine whether they should
  or should not post the even.
  
  Revision  Changes    Path
  1.3       +0 -6      
jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/Receiver.java
  
  Index: Receiver.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/Receiver.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Receiver.java     20 Jun 2003 05:31:07 -0000      1.2
  +++ Receiver.java     23 Jun 2003 03:47:21 -0000      1.3
  @@ -98,12 +98,6 @@
   
       @param event the log event to post to the local log4j environment if active. */
     public void doPost(LoggingEvent event) {
  -    /**
  -     * If this Receiver is not active, the event is discarded
  -     */
  -    if (!isActive()) {
  -      return;
  -    }
   
       // get the "local" logger for this event from the
       // configured repository.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to