Option to disable syslog output #484
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#484
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Running
borgmaticas asystemdservice.Steps to reproduce (if a bug)
Run
borgmaticas asystemdservice with--verbosity 1 --monitoring-verbosity 1 --syslog-verbosity -1options.Actual behavior (if a bug)
Notice how
borgmaticduplicates most of the error-related output into thesyslogeven though the service has already done it.Expected behavior (if a bug)
syslog-verbosity -1should disable any explicitsyslogoutput fromborgmaticas it's redundant undersystemduse case or any other similar one, where logging is done in a different manner.Environment
borgmatic version: 1.5.21
Borg version: 1.1.17
Python version: 3.10.1
Thanks for filing this! I think to make this work, I'd have to introduce another verbosity level even lower than
-1(such as-2,disabled, etc.). That's because the existing-1verbosity level is errors only, and it would probably be good to keep that available.Adding a note for anyone who picks up this ticket: It would probably be a good idea to alter the sample systemd service with whatever solution is employed here. (
--syslog-verbosity -2,--syslog-verbosity disabled, etc.).syslogoutput #675syslogoutput #675@Soumik_Dutta has implemented this in main as a new verbosity level of
-2. It will be available in the next release!Just released as part of borgmatic 1.7.14!