Trying to get the print statements to log