ENH: logging matches also adds a txt file with data about the position of each query and train slice.