logging not print statements