Change default syslog verbosity to show errors only.
This commit is contained in:
parent
7cfab3620b
commit
de94001508
3 changed files with 5 additions and 4 deletions
1
NEWS
1
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
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue