log.error(e);
System.err.println(e);
    public static void main(String[] args) {	TotalOrder  g;	String      arg;	long        timeout=200;	int         num_fields=3;	int         field_size=80;	String      props=null;	props="UDP(mcast_addr=224.0.0.35;mcast_port=45566;ip_ttl=0;" +	    "mcast_send_buf_size=150000;mcast_recv_buf_size=80000):" +	    "PING(timeout=2000;num_initial_members=3):" +	    "MERGE2(min_interval=5000;max_interval=10000):" +	    "FD_SOCK:" +	    "VERIFY_SUSPECT(timeout=1500):" +	    "pbcast.STABLE(desired_avg_gossip=20000):" +	    "pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):" +	    "UNICAST(timeout=5000):" +	    "FRAG(frag_size=4096;down_thread=false;up_thread=false):" +	    "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" +	    "shun=false;print_local_addr=true):" +	    "pbcast.STATE_TRANSFER";			for(int i=0; i < args.length; i++) {	    arg=args[i];	    if("-timeout".equals(arg)) {		timeout=Long.parseLong(args[++i]);		continue;	    }	    if("-num_fields".equals(arg)) {		num_fields=Integer.parseInt(args[++i]);		continue;	    }	    if("-field_size".equals(arg)) {		field_size=Integer.parseInt(args[++i]);		continue;	    }	    if("-help".equals(arg)) {		System.out.println("\nTotalOrder [-timeout <value>] [-num_fields <value>] "+				   "[-field_size <value>] [-props <properties (can be URL)>]\n");		return;	    }	    if("-props".equals(arg)) {		props=args[++i];		continue;	    }	}	try {	    g=new TotalOrder("Total Order Demo on " + InetAddress.getLocalHost().getHostName(),			     timeout, num_fields, field_size, props);	    g.show();	}	catch(Exception e) {	    log.error(e);	}    }