open log in append mode