Browse Source

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 years ago
parent
commit
1819adaf59
1 changed files with 2 additions and 2 deletions
  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()
             repository.commit()
             cache.commit()
             cache.commit()
             if args.stats:
             if args.stats:
-                logger.warning(stats.print_('Deleted data:', cache))
+                logger.info(stats.print_('Deleted data:', cache))
         else:
         else:
             print("You requested to completely DELETE the repository *including* all archives it contains:", file=sys.stderr)
             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'):
             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()
             repository.commit()
             cache.commit()
             cache.commit()
         if args.stats:
         if args.stats:
-            logger.warning(stats.print_('Deleted data:', cache))
+            logger.info(stats.print_('Deleted data:', cache))
         return self.exit_code
         return self.exit_code
 
 
     helptext = {}
     helptext = {}