Emmanuel Odeke would like Ian Lance Taylor and Michael Pratt to review this change.
log/syslog: document that this package no longer works after macOS 12.0, 13.0
Per https://developer.apple.com/documentation/os/logging, Apple's syslog
no longer uses the legacy syslog and Apple System Logger (ASL) APIs
as of macOS 12.X (Monterey), 13.X (Ventura) and thus this package no
longer works and no longer listens on a UNIX domain socket, but it instead
uses Apple Unified Logging (AUL). With this package being frozen though,
the best that we can do is document this limitation.
Fixes #59229
diff --git a/src/log/syslog/doc.go b/src/log/syslog/doc.go
index 9a33eeb..54028d6 100644
--- a/src/log/syslog/doc.go
+++ b/src/log/syslog/doc.go
@@ -22,3 +22,8 @@
// see https://golang.org/issue/1108.
// BUG(akumar): This package is not implemented on Plan 9.
+
+// BUG(odeke-em): As of Darwin's macOS 12.X (Monterey) and 13.X (Ventura), Apple's
+// syslog daemon no longer listens on a UNIX domain socket and instead now uses
+// the proprietary Apple Unified Logging (AUL), hence this package will no longer work
+// for newer OS releases. Please see https://developer.apple.com/documentation/os/logging.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// BUG(odeke-em): As of Darwin's macOS 12.X (Monterey) and 13.X (Ventura), Apple'sisn't 12.X sufficient, since "as of" includes all future versions like 13?
// the proprietary Apple Unified Logging (AUL), hence this package will no longer work"the proprietary Apple Unified Logging (AUL)" feels like it's missing a noun at the end. Their docs seem to use "system".
// for newer OS releases. Please see https://developer.apple.com/documentation/os/logging.newer here seems redundant with the above version spec.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |