mirror of https://github.com/borgbackup/borg.git
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:
parent
ca6c52610f
commit
1819adaf59
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in New Issue