@Test
    public void testParsing () {
        VespaFormatter formatter = new VespaFormatter(serviceName, app);
        LogMessage m;
        try {
            m = LogMessage.parseNativeFormat(expected1.trim());
            assertEquals("this is a test", m.getPayload());

            m = LogMessage.parseNativeFormat(formatter.format(testRecord1).trim());
            assertEquals("this is a test", m.getPayload());

            assertTrue(true);
        }
        catch (InvalidLogFormatException e) {
            System.out.println(e.toString());
            fail();
        }
    }
Make sure that the LogMessage parser used in the log server is
able to parse these messages too.
vespalog/src/test/java/com/yahoo/log/VespaFormatterTestCase.java