Added logging to virtualrole and data store