add logger to async factory