append to a debug-log.txt file, for better logging of errors.