Added a log of the data from mysql to confirm that data was recieved