Merge pull request #51924 from adk3798/limit-policy-log-level

python-common/drive_selection: lower log level of limit policy message

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
This commit is contained in:
Adam King 2023-06-14 14:25:56 -04:00 committed by GitHub
commit a0ab37ade0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ class DriveSelection(object):
limit = device_filter.limit or 0
if limit > 0 and (len_devices + self.existing_daemons >= limit):
logger.info("Refuse to add {} due to limit policy of <{}>".format(
logger.debug("Refuse to add {} due to limit policy of <{}>".format(
disk_path, limit))
return True
return False