/** This also implements the Apache Commons Daemon interface's init */ public void init(String[] args) { try { setup(args); } catch (IOException ioe) { LOG.error("Failed to init Flume Node", ioe); } }
public static void main(String[] argv) { try { setup(argv); } catch (Exception e) { LOG.error("Aborting: Unexpected problem with environment." + e.getMessage(), e); System.exit(-1); } }