Taylor Swift has threatened legal action against a college student after discoering that he has been tracking her flights and logging the online for a number of years.