append to log file