瀏覽代碼

log level tweaking: stats should not be a warning

we should find other ways of forcing that to be shown, it seems
Antoine Beaupré 9 年之前
父節點
當前提交
1819adaf59
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      borg/archiver.py

+ 2 - 2
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 = {}