From d6562c4b1ed97e324a7987b166cc57c51efa3dba Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 31 Jan 2020 10:23:36 -0800 Subject: [PATCH] Fix the "--stats" and "--files" flags so that they yield output at verbosity 0 (#290). --- NEWS | 3 +++ borgmatic/commands/arguments.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 30e6982..2b1ba41 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ * #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 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. 1.5.0 diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index c6f14ee..e366909 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -163,7 +163,7 @@ def parse_arguments(*unparsed_arguments): '--monitoring-verbosity', type=int, 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)', ) global_group.add_argument(