Fix the "--stats" and "--files" flags so that they yield output at verbosity 0 (#290).

This commit is contained in:
Dan Helfman 2020-01-31 10:23:36 -08:00
parent 1ddde0910c
commit d6562c4b1e
2 changed files with 4 additions and 1 deletions

3
NEWS
View file

@ -2,6 +2,9 @@
* #289: Tired of looking up the latest successful archive name in order to pass it to borgmatic * #289: Tired of looking up the latest successful archive name in order to pass it to borgmatic
actions? Me too. Now you can specify "--archive latest" to all actions that accept an archive actions? Me too. Now you can specify "--archive latest" to all actions that accept an archive
flag. flag.
* #290: Fix the "--stats" and "--files" flags so that they yield output at verbosity 0.
* Reduce the default verbosity of borgmatic logs sent to Healthchecks monitoring hook. Now, it's
warnings and errors only. You can increase the verbosity via the "--monitoring-verbosity" flag.
* Add security policy documentation in SECURITY.md. * Add security policy documentation in SECURITY.md.
1.5.0 1.5.0

View file

@ -163,7 +163,7 @@ def parse_arguments(*unparsed_arguments):
'--monitoring-verbosity', '--monitoring-verbosity',
type=int, type=int,
choices=range(-1, 3), choices=range(-1, 3),
default=1, default=0,
help='Log verbose progress to monitoring integrations that support logging (from only errors to very verbose: -1, 0, 1, or 2)', help='Log verbose progress to monitoring integrations that support logging (from only errors to very verbose: -1, 0, 1, or 2)',
) )
global_group.add_argument( global_group.add_argument(