Added code to write lvm and GPT info to log file