ClassConfigurator.getInstance(true);
    public static void main(String[] args) throws Exception {        String arg;        int port=8080;        long expiry = GossipRouter.EXPIRY_TIME;        long timeout = GossipRouter.GOSSIP_REQUEST_TIMEOUT;        long routingTimeout = GossipRouter.ROUTING_CLIENT_REPLY_TIMEOUT;        GossipRouter router=null;        String address=null;        for(int i=0; i < args.length; i++) {            arg=args[i];            if("-port".equals(arg)) {                port=Integer.parseInt(args[++i]);                continue;            }            if("-bindaddress".equals(arg)) {                address=args[++i];                continue;            }            if("-expiry".equals(arg)) {                expiry=Long.parseLong(args[++i]);                continue;            }            if("-timeout".equals(arg)) {                timeout=Long.parseLong(args[++i]);                continue;            }            if("-rtimeout".equals(arg)) {                routingTimeout=Long.parseLong(args[++i]);                continue;            }            help();            return;        }        System.out.println("GossipRouter is starting...");        try {            router= new GossipRouter(port, address, expiry, timeout, routingTimeout);            router.start();        }        catch(Exception e) {            System.err.println(e);        }    }