Close #35: Convert print statements with logging module