diff --git a/sushy_oem_idrac/asynchronous.py b/sushy_oem_idrac/asynchronous.py index 4fcbf5b..4cfa763 100644 --- a/sushy_oem_idrac/asynchronous.py +++ b/sushy_oem_idrac/asynchronous.py @@ -56,8 +56,8 @@ def http_call(conn, method, *args, **kwargs): retry_after = _to_datetime(retry_after) sleep_for = max(0, (retry_after - datetime.now()).total_seconds()) - LOG.info('Sleeping for %d secs before retrying HTTP GET ' - '%s', sleep_for, location) + LOG.debug('Sleeping for %d secs before retrying HTTP GET ' + '%s', sleep_for, location) time.sleep(sleep_for) diff --git a/sushy_oem_idrac/resources/manager/manager.py b/sushy_oem_idrac/resources/manager/manager.py index 3d40abe..96e0af2 100644 --- a/sushy_oem_idrac/resources/manager/manager.py +++ b/sushy_oem_idrac/resources/manager/manager.py @@ -126,7 +126,9 @@ VFDD\ sushy_task_poll_period=1) LOG.info("Set boot device to %(device)s via " - "Dell OEM magic spell", {'device': device}) + "Dell OEM magic spell (%(retries)d " + "retries)", {'device': device, + 'retries': self.RETRY_COUNT - attempts}) return response