Make log append and not just at end