public static String readFile(String path) {
        StringBuilder builder = new StringBuilder();
        File file = new File(path);
        if (!file.isFile()) {
            throw new BusException(StrUtil.format("File path {} is not a file.", path));
        }
        try (InputStreamReader inputStreamReader =
                        new InputStreamReader(Files.newInputStream(file.toPath()), StandardCharsets.UTF_8);
                BufferedReader bufferedReader = new BufferedReader(inputStreamReader)) {
            String content;
            while ((content = bufferedReader.readLine()) != null) {
                builder.append("\n");
                builder.append(content);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        return builder.toString();
    }
@Ignore
    @Test
    public void testReadRootLog() {
        String result = DirUtil.readFile(DirConstant.getRootLog());
        Assertions.assertThat(result).isNotNull();
    }