*/
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]")
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
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
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;
/**
* @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;
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"+