1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00

log level tweaking: stats should not be a warning

we should find other ways of forcing that to be shown, it seems
This commit is contained in:
Antoine Beaupré 2015-10-02 11:16:21 -04:00
parent ca6c52610f
commit 1819adaf59

View file

@ -315,7 +315,7 @@ def do_delete(self, args):
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 @@ def do_prune(self, args):
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 = {}