Added logging of RealmId