You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2009/04/17 22:58:05 UTC

svn commit: r766153 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Author: sebb
Date: Fri Apr 17 20:58:05 2009
New Revision: 766153

URL: http://svn.apache.org/viewvc?rev=766153&view=rev
Log:
Clarify log messages

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=766153&r1=766152&r2=766153&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Fri Apr 17 20:58:05 2009
@@ -258,7 +258,7 @@
             log.error("Test failed!", e);
         } finally {
             threadContext.clear();
-            log.info("Thread " + threadName + " is done");
+            log.info("Thread finished: " + threadName);
             monitor.threadFinished(this);
             threadFinished();
         }
@@ -440,7 +440,7 @@
             startScheduler();
         }
         rampUpDelay();
-        log.info("Thread " + Thread.currentThread().getName() + " started");
+        log.info("Thread started: " + Thread.currentThread().getName());
         JMeterContextService.incrNumberOfThreads();
         threadGroup.incrNumberOfThreads();
         GuiPackage gp =GuiPackage.getInstance();
@@ -516,12 +516,12 @@
 
     public void stop() { // Called by StandardJMeterEngine
         running = false;
-        log.info("Stopping " + threadName);
+        log.info("Stopping: " + threadName);
     }
 
     /** {@inheritDoc} */
     public boolean interrupt(){
-        log.warn("Interrupting " + threadName);
+        log.warn("Interrupting: " + threadName);
         Sampler samp = threadContext.getCurrentSampler();
         if (samp instanceof Interruptible){
             try {
@@ -536,7 +536,7 @@
 
     private void stopTest() {
         running = false;
-        log.info("Stop Test detected by thread " + threadName);
+        log.info("Stop Test detected by thread: " + threadName);
         // engine.stopTest();
         if (engine != null) {
             engine.askThreadsToStop();
@@ -545,7 +545,7 @@
 
     private void stopThread() {
         running = false;
-        log.info("Stop Thread detected by thread " + threadName);
+        log.info("Stop Thread detected by thread: " + threadName);
     }
 
     private void checkAssertions(List assertions, SampleResult parent) {



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