Log files when input fails