Fix syslog logging on FreeBSD #407
No reviewers
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#407
Loading…
Reference in New Issue
No description provided.
Delete Branch "PlqnK/borgmatic:fix-syslog-freebsd"
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?
Borgmatic doesn't log to syslog on FreeBSD because
/dev/log
and/var/run/syslog
doesn't exists.The UNIX domain socket to use on FreeBSD is
/var/run/log
.See the syslogd FreeBSD man page: https://www.freebsd.org/cgi/man.cgi?query=syslogd&sektion=8 for more information!
I've tested it in a TrueNAS jail and with that fix syslog logging is now working.
Though with the default
syslogd
configuration onlyNOTICE
and higher levels get logged, but that's a user configuration problem, not a borgmatic one.Thank you for finding and fixing this!
Finally released in borgmatic 1.5.16!