From 18e894072fba0541a45aa2fb20ae4562c101bc89 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 12 Feb 2017 18:47:28 +0200 Subject: Log length of remaining chunks to remove --- obnamlib/fmt_ga/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/obnamlib/fmt_ga/client.py b/obnamlib/fmt_ga/client.py index 370ca98d..b2d5cdbe 100644 --- a/obnamlib/fmt_ga/client.py +++ b/obnamlib/fmt_ga/client.py @@ -17,6 +17,7 @@ import copy +import logging import os import stat @@ -236,6 +237,8 @@ class GAClient(object): for chunk_id in self._generate_chunk_ids_in_generations(remaining): if chunk_id in chunks_to_remove: chunks_to_remove.remove(chunk_id) + logging.debug('len(chunks_to_remove) = {}'.format( + len(chunks_to_remove))) dumper.dump_memory_profile('after computing chunk uniq to removed gen') self._generations.set_generations(remaining) -- cgit v1.2.1