public static void redirect(String name, LogRedirector redirector) {
    Thread thread = new Thread(redirector);
    thread.setName(name);
    thread.setDaemon(true);
    thread.start();
  }
Start the logredirector in a new thread
@param name name of the new thread
@param redirector redirector to start
common/src/java/org/apache/hadoop/hive/common/log/LogRedirector.java