activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r399259 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java
Date Wed, 03 May 2006 11:21:24 GMT
Author: jstrachan
Date: Wed May  3 04:21:19 2006
New Revision: 399259

URL: http://svn.apache.org/viewcvs?rev=399259&view=rev
Log:
removed some system.out logging

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java?rev=399259&r1=399258&r2=399259&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/LargeStreamletTest.java
Wed May  3 04:21:19 2006
@@ -16,6 +16,9 @@
 * limitations under the License.
 */
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.util.Random;
@@ -33,6 +36,8 @@
  */
 public final class LargeStreamletTest extends TestCase {
 
+    private static final Log log = LogFactory.getLog(LargeStreamletTest.class);
+    
     private static final String BROKER_URL = "vm://localhost?broker.persistent=false";
 
     private static final int BUFFER_SIZE = 1 * 1024;
@@ -82,8 +87,7 @@
                             readerException  = e;
                             e.printStackTrace();
                         } finally {
-                            System.err
-                                    .println(totalRead + " total bytes read.");
+                            log.info(totalRead + " total bytes read.");
                         }
                     }
                 });
@@ -111,7 +115,7 @@
                             writerException = e;
                             e.printStackTrace();
                         } finally {
-                            System.err.println(totalWritten
+                            log.info(totalWritten
                                     + " total bytes written.");
                         }
                     }



Mime
View raw message