updated logging for known structs, allow configuring log header contents