Added logger
Replaced print() with log.info()