@Test
    public void testSimple () {
        String name = LogUtils.getHostName();
        assertNotNull(name);
        assertFalse(name.equals(""));
    }
Just make sure the static getHostName() method returns something
that looks half sensible.
vespalog/src/test/java/com/yahoo/log/impl/LogUtilsTest.java