@Test
public void testLogStaticInfo() throws IOException, InterruptedException, NoSuchFieldException,
                               IllegalAccessException {

    //record
    reflect();
    StaticInfoLog.logStaticInfo();
    TestUtil.waitForAsyncLog();
    List<String> params = new ArrayList<String>();
    params.add(TracerUtils.getPID());
    params.add(TracerUtils.getInetAddress());
    params.add(TracerUtils.getCurrentZone());
    params.add(TracerUtils.getDefaultTimeZone());
    List<String> contents = FileUtils.readLines(customFileLog("static-info.log"));
    Assert.assertFalse("Static information log has no content", contents.isEmpty());
    assertTrue(checkResult(params, contents.get(0)));
}