code: public static void main(String[] args) {
      int exitCode = 1;
      try {
        logLevel(args, new InstancedConfiguration(ConfigurationUtils.defaults()));
        exitCode = 0;
      } catch (ParseException e) {
        printHelp("Unable to parse input args: " + e.getMessage());
      } catch (IOException e) {
        e.printStackTrace();
        System.err.println(String.format("Failed to set log level: %s", e.getMessage()));
      }
      System.exit(exitCode);
    }
docs: Sets or gets log level of master and worker through their REST API.
  
  @param args same arguments as {@link LogLevel}