@Override public void fail(Object id) { List<LogEntry> list = new ArrayList<LogEntry>(); LogEntry log = new LogEntry(); log.setCategory("Storm"); String message = (String) id; log.setMessage( "FAIL " + message + " " + syinfo.getFQDN() + " CURTIME=" + System.currentTimeMillis()); list.add(log); try { if (!tr.isOpen()) tr.open(); client.Log(list); } catch (org.apache.thrift.TException e) { e.printStackTrace(); } }