log.error(e);
System.err.println(e);
    public void run() {        Object obj;        Message msg;        while(looping) {            try {                obj=channel.receive(0); // no timeout                if(obj instanceof View)                    System.out.println("--> NEW VIEW: " + obj);                else if(obj instanceof Message) {                    msg=(Message)obj;                    System.out.println("Received " + msg.getObject());                }            }            catch(ChannelNotConnectedException conn) {                break;            }            catch(Exception e) {                log.error(e);            }        }    }