logging with print statements