Add missing logging import to ndb_persistence