private String getEventPriorityBySyslog(int priority) {
    switch (priority % 8) {
      case 0:
      case 1:
      case 2:
        return "FATAL";
      case 3:
        return "ERROR";
      case 4:
        return "WARN";
      case 5:
      case 6:
        return "INFO";
      case 7:
        return "DEBUG";
      default:
        // If this happens, we should tell the world.
        throw new RuntimeException("Failed to look up Syslog priority");
    }
  }
Resolve the given syslog priority as a log priority.
ql/src/java/org/apache/hadoop/hive/ql/log/syslog/SyslogParser.java