Kaynağa Gözat

Change default syslog verbosity to show errors only.

Dan Helfman 6 yıl önce
ebeveyn
işleme
de94001508

+ 1 - 0
NEWS

@@ -1,5 +1,6 @@
 1.3.7.dev0
  * #196: Fix for unclear error message for invalid YAML merge include.
+ * Change default syslog verbosity to show errors only.
 
 1.3.6
  * #53: Log to syslog in addition to existing console logging. Add --syslog-verbosity flag to

+ 1 - 1
borgmatic/commands/borgmatic.py

@@ -182,7 +182,7 @@ def parse_arguments(*arguments):
         '--syslog-verbosity',
         type=int,
         choices=range(0, 3),
-        default=1,
+        default=0,
         help='Display verbose progress to syslog (from none to lots: 0, 1, or 2)',
     )
     common_group.add_argument(

+ 3 - 3
docs/how-to/inspect-your-backups.md

@@ -42,11 +42,11 @@ using systemd, try running `journalctl -xe`. Otherwise, try viewing
 
 You can customize the log level used for syslog logging with the
 `--syslog-verbosity` flag, and this is independent from the console logging
-`--verbosity` flag described above. For instance, to disable syslog logging
-except for errors:
+`--verbosity` flag described above. For instance, to get additional
+information about the progress of the backup as it proceeds:
 
 ```bash
-borgmatic --syslog-verbosity 0
+borgmatic --syslog-verbosity 1
 ```
 
 Or to increase syslog logging to include debug spew: