Option to disable syslog
output #484
Labels
No Label
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 New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
borgmatic
as asystemd
service.Steps to reproduce (if a bug)
Run
borgmatic
as asystemd
service with--verbosity 1 --monitoring-verbosity 1 --syslog-verbosity -1
options.Actual behavior (if a bug)
Notice how
borgmatic
duplicates most of the error-related output into thesyslog
even though the service has already done it.Expected behavior (if a bug)
syslog-verbosity -1
should disable any explicitsyslog
output fromborgmatic
as it's redundant undersystemd
use 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-1
verbosity 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.).@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!