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
|
1.3.7.dev0
|
||||||
* #196: Fix for unclear error message for invalid YAML merge include.
|
* #196: Fix for unclear error message for invalid YAML merge include.
|
||||||
|
* Change default syslog verbosity to show errors only.
|
||||||
|
|
||||||
1.3.6
|
1.3.6
|
||||||
* #53: Log to syslog in addition to existing console logging. Add --syslog-verbosity flag to
|
* #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',
|
'--syslog-verbosity',
|
||||||
type=int,
|
type=int,
|
||||||
choices=range(0, 3),
|
choices=range(0, 3),
|
||||||
default=1,
|
default=0,
|
||||||
help='Display verbose progress to syslog (from none to lots: 0, 1, or 2)',
|
help='Display verbose progress to syslog (from none to lots: 0, 1, or 2)',
|
||||||
)
|
)
|
||||||
common_group.add_argument(
|
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
|
You can customize the log level used for syslog logging with the
|
||||||
`--syslog-verbosity` flag, and this is independent from the console logging
|
`--syslog-verbosity` flag, and this is independent from the console logging
|
||||||
`--verbosity` flag described above. For instance, to disable syslog logging
|
`--verbosity` flag described above. For instance, to get additional
|
||||||
except for errors:
|
information about the progress of the backup as it proceeds:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
borgmatic --syslog-verbosity 0
|
borgmatic --syslog-verbosity 1
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to increase syslog logging to include debug spew:
|
Or to increase syslog logging to include debug spew:
|
||||||
|
|
Loading…
Reference in a new issue