[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/receivers ReceiversPanel.java
From:       psmith () apache ! org
Date:       2004-06-17 0:11:58
Message-ID: 20040617001158.93751.qmail () minotaur ! apache ! org
[Download RAW message or body]

psmith      2004/06/16 17:11:58

  Modified:    src/java/org/apache/log4j/chainsaw/receivers
                        ReceiversPanel.java
  Log:
  Found another condition where Receivers could start to appear duplicated.
  
  Thanks to Stephen Pain for convincing me that it really does still happen.
  
  Revision  Changes    Path
  1.17      +1 -2      logging-log4j/src/java/org/apache/log4j/chainsaw/receivers/ReceiversPanel.java
  
  Index: ReceiversPanel.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/receivers/ReceiversPanel.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ReceiversPanel.java	24 May 2004 22:25:30 -0000	1.16
  +++ ReceiversPanel.java	17 Jun 2004 00:11:58 -0000	1.17
  @@ -304,8 +304,7 @@
                       for (Iterator iter = allReceivers.iterator();
                           iter.hasNext();) {
                         Receiver item = (Receiver) iter.next();
  -                      pluginRegistry.stopPlugin(item.getName());
  -                      pluginRegistry.addPlugin(item);
  +                      item.shutdown();
                         item.activateOptions();
                       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic