Change log write logic. Logs add, not rewrite