/*
* This is not the nicest way to do this. Ideally we'd skip the
* intermediate object and go from the log4j event directly to the
* AvroFlumeEvent.
*/
client.append(AvroEventConvertUtil.toAvroEvent(new Log4JEventAdaptor(event)));
break;
} catch (UndeclaredThrowableException e) {
/*
* This is yucky. We want to give client.append() $reconnectAttempts