private static long parseProcessId(String threadProcess) {
        int slashIndex = threadProcess.indexOf('/');
        if (slashIndex == -1) {
            return Long.parseLong(threadProcess);
        }
        return Long.parseLong(threadProcess.substring(0, slashIndex));
    }
Make a log message from the native format of the logging
package.

@param msg The log message
@return Returns a LogMessage instance
@throws InvalidLogFormatException if the log message
   can not be parsed, ie. is invalid, we throw this
   exception.
vespalog/src/main/java/com/yahoo/log/LogMessage.java