log.info and log.error inputs were made in code