get the data from the recordList and display it in the console