logging improved iap module