Appends all input text to log.txt