sebb        2003/10/10 09:21:55

  Modified:    src/core/org/apache/jmeter/gui/util JMeterMenuBar.java
  Log:
  Tidy up logs a bit
  
  Revision  Changes    Path
  1.17      +5 -2      
jakarta-jmeter/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java
  
  Index: JMeterMenuBar.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- JMeterMenuBar.java        5 Oct 2003 15:07:05 -0000       1.16
  +++ JMeterMenuBar.java        10 Oct 2003 16:21:55 -0000      1.17
  @@ -79,7 +79,7 @@
   
   /**
    * @author    Michael Stover
  - * @version   $Revision$
  + * @version   $Revision$ Updated on $Date$
    */
   public class JMeterMenuBar extends JMenuBar implements LocaleChangeListener
   {
  @@ -470,19 +470,22 @@
   
       public void setRunning(boolean running, String host)
       {
  +             log.info("setRunning("+ running +","+ host + ")");
  +
           Iterator iter = remote_engine_start.iterator();
           Iterator iter2 = remote_engine_stop.iterator();
           while (iter.hasNext() && iter2.hasNext())
           {
               JMenuItem start = (JMenuItem) iter.next();
               JMenuItem stop = (JMenuItem) iter2.next();
  -            log.info("host = " + host + " start = " + start.getText());
               if (start.getText().equals(host))
               {
  +                             log.info("Found start host: " + start.getText());
                   start.setEnabled(!running);
               }
               if (stop.getText().equals(host))
               {
  +                             log.info("Found stop  host: " + stop.getText());
                   stop.setEnabled(running);
               }
           }
  
  
  

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

Reply via email to