integrated cpp import logger to astconsumer