From fdf273ad05df5f21466e30585ed4640f3289dcee Mon Sep 17 00:00:00 2001
From: Ivo De Decker <ivodd@debian.org>
Date: Mon, 2 Sep 2019 19:04:44 +0000
Subject: [PATCH] Log initial list of cruft items added to the list of items

Signed-off-by: Ivo De Decker <ivodd@debian.org>
---
 britney.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/britney.py b/britney.py
index 4f03576..2cf39b7 100755
--- a/britney.py
+++ b/britney.py
@@ -754,7 +754,10 @@ class Britney(object):
 
         # sort the list of candidates
         self.upgrade_me = sorted(upgrade_me)
-        self.upgrade_me.extend(old_libraries(mi_factory, self.suite_info, self.options.outofsync_arches))
+        old_lib_removals = old_libraries(mi_factory, self.suite_info, self.options.outofsync_arches)
+        self.upgrade_me.extend(old_lib_removals)
+        self.output_logger.info("List of old libraries added to upgrade_me (%d):", len(old_lib_removals))
+        log_and_format_old_libraries(self.output_logger, old_lib_removals)
 
         # write excuses to the output file
         if not self.options.dry_run: