Author: fhanik Date: Thu May 17 11:28:35 2007 New Revision: 539066 URL: http://svn.apache.org/viewvc?view=rev&rev=539066 Log: left overs
Modified: tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/IntrospectionUtils.java tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/LoadTest.java Modified: tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java?view=diff&rev=539066&r1=539065&r2=539066 ============================================================================== --- tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java (original) +++ tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java Thu May 17 11:28:35 2007 @@ -52,7 +52,7 @@ */ public class ChannelCreator { - org.apache.commons.logging.impl.LogFactoryImpl impl=null; + public static StringBuffer usage() { StringBuffer buf = new StringBuffer(); buf.append("\n\t\t[-bind tcpbindaddress]") Modified: tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/IntrospectionUtils.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/IntrospectionUtils.java?view=diff&rev=539066&r1=539065&r2=539066 ============================================================================== --- tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/IntrospectionUtils.java (original) +++ tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/IntrospectionUtils.java Thu May 17 11:28:35 2007 @@ -29,6 +29,8 @@ import java.util.Hashtable; import java.util.StringTokenizer; import java.util.Vector; +import org.apache.juli.logging.LogFactory; +import org.apache.juli.logging.Log; // Depends: JDK1.1 @@ -38,8 +40,7 @@ public final class IntrospectionUtils { - private static org.apache.commons.logging.Log log= - org.apache.commons.logging.LogFactory.getLog( IntrospectionUtils.class ); + private static Log log= LogFactory.getLog( IntrospectionUtils.class ); /** * Call execute() - any ant-like task should work Modified: tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/LoadTest.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/LoadTest.java?view=diff&rev=539066&r1=539065&r2=539066 ============================================================================== --- tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/LoadTest.java (original) +++ tomcat/tc6.0.x/trunk/test/org/apache/catalina/tribes/demos/LoadTest.java Thu May 17 11:28:35 2007 @@ -28,6 +28,8 @@ import org.apache.catalina.tribes.io.XByteBuffer; import org.apache.catalina.tribes.Channel; import java.io.Externalizable; +import org.apache.juli.logging.Log; +import org.apache.juli.logging.LogFactory; /** @@ -41,7 +43,7 @@ * @version 1.0 */ public class LoadTest implements MembershipListener,ChannelListener, Runnable { - protected static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoadTest.class); + protected static Log log = LogFactory.getLog(LoadTest.class); public static int size = 24000; public static Object mutex = new Object(); public boolean doRun = true; @@ -227,6 +229,7 @@ float seconds = ((float)(System.currentTimeMillis()-receiveStart)) / 1000f; log.info("****RECEIVE STATS-"+Thread.currentThread().getName()+"*****"+ "\n\tMessage count :"+(long)messagesReceived+ + "\n\tMessage/sec :"+messagesReceived/seconds+ "\n\tTotal bytes :"+(long)bytes+ "\n\tTotal mbytes :"+(long)mBytesReceived+ "\n\tTime since 1st:"+seconds+" seconds"+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]