Change to append to the log instead of overwriting.