Added log reset method, and now placing a newline before message header write