flattening the LogMsg structure

still not complete