diff --git a/vmware_nsx/api_replay/client.py b/vmware_nsx/api_replay/client.py index e425cea28c..b2402920bc 100644 --- a/vmware_nsx/api_replay/client.py +++ b/vmware_nsx/api_replay/client.py @@ -338,7 +338,8 @@ class ApiReplayClient(utils.PrepareObjectForMigration): {'rule': rule_type, 'pol': pol_id}) if rule: LOG.info("created QoS policy %s rule %s", pol_id, rule) - self._log_elapsed(start, "Migrate QoS rule %s" % rule['id']) + self._log_elapsed( + start, "Migrate QoS rule for policy %s" % pol_id) except Exception as e: self.add_error("Failed to create QoS rule %(rule)s for policy " "%(pol)s: %(e)s" % {'rule': body, 'pol': pol_id,