Просмотр исходного кода

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

Dan Helfman 5 лет назад
Родитель
Сommit
d6562c4b1e
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      NEWS
  2. 1 1
      borgmatic/commands/arguments.py

+ 3 - 0
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

+ 1 - 1
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(