changed log.warning to log.info