From 1819adaf59c1d7167e91396b55e9fd9d48874cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 2 Oct 2015 11:16:21 -0400 Subject: [PATCH] log level tweaking: stats should not be a warning we should find other ways of forcing that to be shown, it seems --- borg/archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borg/archiver.py b/borg/archiver.py index 3d80bc99e..35a478cfb 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -315,7 +315,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""") repository.commit() cache.commit() if args.stats: - logger.warning(stats.print_('Deleted data:', cache)) + logger.info(stats.print_('Deleted data:', cache)) else: print("You requested to completely DELETE the repository *including* all archives it contains:", file=sys.stderr) for archive_info in manifest.list_archive_infos(sort_by='ts'): @@ -459,7 +459,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""") repository.commit() cache.commit() if args.stats: - logger.warning(stats.print_('Deleted data:', cache)) + logger.info(stats.print_('Deleted data:', cache)) return self.exit_code helptext = {}