sebb        2003/10/08 18:05:10

  Modified:    src/core/org/apache/jmeter/engine
                        RemoteJMeterEngineImpl.java
  Log:
  Extra logging; tidy up existing
  
  Revision  Changes    Path
  1.13      +11 -5     
jakarta-jmeter/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java
  
  Index: RemoteJMeterEngineImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- RemoteJMeterEngineImpl.java       7 Oct 2003 18:32:09 -0000       1.12
  +++ RemoteJMeterEngineImpl.java       9 Oct 2003 01:05:10 -0000       1.13
  @@ -64,7 +64,7 @@
   
   
   /**
  - * @version $Revision$
  + * @version $Revision$ Updated on: $Date$
    */
   public class RemoteJMeterEngineImpl
       extends java.rmi.server.UnicastRemoteObject
  @@ -75,6 +75,8 @@
   
       public RemoteJMeterEngineImpl() throws RemoteException
       {
  +     log.info("Starting backing engine");
  +             log.debug("This = "+ this);
           try
           {
               backingEngine =
  @@ -94,7 +96,7 @@
   
       public void setHost(String host)
       {
  -        log.warn("received host");
  +        log.info("received host: "+host);
           backingEngine.setHost(host);
       }
   
  @@ -106,24 +108,27 @@
        */
       public void configure(HashTree testTree) throws RemoteException
       {
  -        log.warn("received test tree");
  +        log.info("received test tree");
           backingEngine.configure(testTree);
       }
   
       public void runTest() throws RemoteException, JMeterEngineException
       {
  -        log.warn("running test");
  +        log.info("running test");
  +             log.debug("This = "+ this);
           backingEngine.runTest();
       }
   
       public void reset() throws RemoteException
       {
  +     log.info("Reset");
           backingEngine.reset();
       }
   
       public void stopTest() throws RemoteException
       {
  -        backingEngine.stopTest();
  +     log.info("Stopping test");
  +        backingEngine.stopTest();//TODO: askThreadsToStop() instead?
       }
   
       /**
  @@ -133,6 +138,7 @@
        */
       public static void main(String[] args)
       {
  +     log.info("Starting main");
           try
           {
               new RemoteJMeterEngineImpl();
  
  
  

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

Reply via email to