Added sampling logger.