added logging during import