Append log to file