Skip to content

Commit f47fbc4

Browse files
committed
feat: add debug log for Ironic sending requests to Kea
1 parent 856e693 commit f47fbc4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • python/ironic-understack/ironic_understack/dhcp

python/ironic-understack/ironic_understack/dhcp/kea.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ def _make_request(self, command, arguments, services=None):
4747
results = []
4848
try:
4949
for url in self._lookup_api_urls():
50+
LOG.debug(
51+
"Sending %(command)s request to Kea API %(url)s",
52+
{"command": command, "url": url},
53+
)
5054
response = requests.post(
5155
url,
5256
json=payload,

0 commit comments

Comments
 (0)