logging tweaks

This commit is contained in:
J. Nick Koston 2023-12-12 10:50:55 -10:00
parent 033ccc85ff
commit 10c76a76b2
No known key found for this signature in database
1 changed files with 2 additions and 4 deletions

View File

@ -338,11 +338,9 @@ class APIConnection:
"""Step 2 in connect process: connect the socket."""
if self._debug_enabled:
_LOGGER.debug(
"%s: Connecting to %s:%s (%s)",
"%s: Connecting to %s",
self.log_name,
self._params.addresses,
self._params.port,
addrs,
", ".join(str(addr.sockaddr) for addr in addrs),
)
addr_infos: list[aiohappyeyeballs.AddrInfoType] = [