repos: Lower 'Cycle detected' message to debug

The summary contains all the cycles anyway, and many
such messages are not useful and only slow things down.
This commit is contained in:
Ivan A. Melnikov 2023-08-17 15:42:34 +04:00
parent 29059c3ae4
commit ec92670e48

View File

@ -480,7 +480,7 @@ def recursive_build_report(from_repo, to_repo, *source_names,
try:
order = list(graphlib.TopologicalSorter(full_req).static_order())
except graphlib.CycleError as ex:
LOG.warning("Cycle detected: %s", ex)
LOG.debug("Cycle detected: %s", ex)
cycle = ex.args[1]
cycles.append(cycle)
# break the cycle and retry