Used correct logger for logging.