Fix appending log to forever