log.error(ex);
System.err.println(ex);
    public static void main(String[] args) {        long sleep_time=0;        boolean exit_on_end=false;        boolean busy_sleep=false;        String udp_props="UDP(mcast_addr=228.8.8.8;mcast_port=45566;ip_ttl=32;" +                "ucast_recv_buf_size=32000;ucast_send_buf_size=64000;" +                "mcast_send_buf_size=32000;mcast_recv_buf_size=64000;loopback=true):";        String regular_props="PING(timeout=1000;num_initial_members=2):" +                "MERGE2(min_interval=5000;max_interval=10000):" +                "FD_SOCK:" +                "VERIFY_SUSPECT(timeout=1500):" +                "pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):" +                "UNICAST(timeout=2000,4000,6000;window_size=100;min_threshold=10;use_gms=false):" +                "pbcast.STABLE(desired_avg_gossip=20000):" +                "FRAG(frag_size=8192;down_thread=false;up_thread=false):" +                "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)";        String props=udp_props + regular_props;        String loopback_props="LOOPBACK:" + regular_props;        for(int i=0; i < args.length; i++) {            if("-help".equals(args[i])) {                help();                return;            }            if("-props".equals(args[i])) {                props=args[++i];                continue;            }            if("-sleep".equals(args[i])) {                sleep_time=Long.parseLong(args[++i]);                continue;            }            if("-loopback".equals(args[i])) {                props=loopback_props;                continue;            }            if("-exit_on_end".equals(args[i])) {                exit_on_end=true;                continue;            }            if("-busy_sleep".equals(args[i])) {                busy_sleep=true;                continue;            }        }        try {            UnicastTest test=new UnicastTest();            test.init(props, sleep_time, exit_on_end, busy_sleep);            test.eventLoop();        }        catch(Exception ex) {            log.error(ex);        }    }