Use logging instead of print statements