mirror of
https://opendev.org/openstack/designate.git
synced 2026-01-16 23:11:37 +00:00
Merge "Improve logging in designate.zone_manager"
This commit is contained in:
commit
2cf4d8aefb
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ class Service(service.RPCService, coordination.CoordinationMixin,
|
|||
|
||||
enabled = CONF['service:zone_manager'].enabled_tasks
|
||||
for task in tasks.PeriodicTask.get_extensions(enabled):
|
||||
LOG.debug("Registering task %s" % task)
|
||||
LOG.debug("Registering task %s", task)
|
||||
|
||||
# Instantiate the task
|
||||
task = task()
|
||||
|
|
|
|||
|
|
@ -224,5 +224,5 @@ class PeriodicSecondaryRefreshTask(PeriodicTask):
|
|||
if seconds > zone.refresh:
|
||||
msg = "Zone %(id)s has %(seconds)d seconds since last transfer, " \
|
||||
"executing AXFR"
|
||||
LOG.debug(msg % {"id": zone.id, "seconds": seconds})
|
||||
LOG.debug(msg, {"id": zone.id, "seconds": seconds})
|
||||
self.central_api.xfr_zone(ctxt, zone.id)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue