use log.info instead of print statements