Use append mode for log writing.