浏览代码

Mention new verbosity level to NEWS (#484).

Dan Helfman 2 年之前
父节点
当前提交
b222f6a60b
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      NEWS
  2. 2 1
      tests/unit/commands/test_borgmatic.py

+ 2 - 0
NEWS

@@ -1,4 +1,6 @@
 1.7.14.dev0
+ * #484: Add a new verbosity level (-2) to disable output entirely (for console, syslog, log file,
+   or monitoring), so not even errors are shown.
  * #688: Tweak archive check probing logic to use the newest timestamp found when multiple exist.
  * #659: Add Borg 2 date-based matching flags to various actions for archive selection.
 

+ 2 - 1
tests/unit/commands/test_borgmatic.py

@@ -242,7 +242,8 @@ def test_run_configuration_retries_hard_error():
     ).and_return([flexmock()])
     error_logs = [flexmock()]
     flexmock(module).should_receive('log_error_records').with_args(
-        'foo: Error running actions for repository', OSError,
+        'foo: Error running actions for repository',
+        OSError,
     ).and_return(error_logs)
     config = {'location': {'repositories': [{'path': 'foo'}]}, 'storage': {'retries': 1}}
     arguments = {'global': flexmock(monitoring_verbosity=1, dry_run=False), 'create': flexmock()}