Append to a log file