Added logging to PartyRepo