diff --git a/oslo_messaging/_drivers/protocols/amqp/controller.py b/oslo_messaging/_drivers/protocols/amqp/controller.py index bd8756400..d89eb0ae7 100644 --- a/oslo_messaging/_drivers/protocols/amqp/controller.py +++ b/oslo_messaging/_drivers/protocols/amqp/controller.py @@ -667,6 +667,6 @@ class Controller(pyngus.ConnectionEventHandler): self._senders = {} self._socket_connection.reset() host = self.hosts.next() - LOG.info(_LI("Reconnecting to: %(hostname):%(port)"), + LOG.info(_LI("Reconnecting to: %(hostname)s:%(port)s"), {'hostname': host.hostname, 'port': host.port}) self._socket_connection.connect(host)