How about self.log.info instead of print?