[go] log/syslog: document that this package no longer works after macOS 12.0, 13.0

3 views
Skip to first unread message

Emmanuel Odeke (Gerrit)

unread,
Dec 25, 2025, 2:41:21 AM (3 days ago) Dec 25
to Ian Lance Taylor, Michael Pratt, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Ian Lance Taylor and Michael Pratt

Emmanuel Odeke has uploaded the change for review

Emmanuel Odeke would like Ian Lance Taylor and Michael Pratt to review this change.

Commit message

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
Change-Id: Idd008d546705dfc751b170eddaf3c450e96c1dd6

Change diff

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.

Change information

Files:
  • M src/log/syslog/doc.go
Change size: XS
Delta: 1 file changed, 5 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Lance Taylor
  • Michael Pratt
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Idd008d546705dfc751b170eddaf3c450e96c1dd6
Gerrit-Change-Number: 732640
Gerrit-PatchSet: 1
Gerrit-Owner: Emmanuel Odeke <emma...@orijtech.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Michael Pratt <mpr...@google.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Emmanuel Odeke (Gerrit)

unread,
Dec 25, 2025, 2:41:59 AM (3 days ago) Dec 25
to goph...@pubsubhelper.golang.org, Ian Lance Taylor, Michael Pratt, golang-co...@googlegroups.com
Attention needed from Ian Lance Taylor and Michael Pratt

Emmanuel Odeke voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Lance Taylor
  • Michael Pratt
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Idd008d546705dfc751b170eddaf3c450e96c1dd6
Gerrit-Change-Number: 732640
Gerrit-PatchSet: 1
Gerrit-Owner: Emmanuel Odeke <emma...@orijtech.com>
Gerrit-Reviewer: Emmanuel Odeke <emma...@orijtech.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
Gerrit-Attention: Michael Pratt <mpr...@google.com>
Gerrit-Comment-Date: Thu, 25 Dec 2025 07:41:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Sean Liao (Gerrit)

unread,
Dec 27, 2025, 3:52:55 PM (20 hours ago) Dec 27
to Emmanuel Odeke, goph...@pubsubhelper.golang.org, Go LUCI, Ian Lance Taylor, Michael Pratt, golang-co...@googlegroups.com
Attention needed from Emmanuel Odeke, Ian Lance Taylor and Michael Pratt

Sean Liao added 3 comments

File src/log/syslog/doc.go
Line 26, Patchset 1 (Latest):// BUG(odeke-em): As of Darwin's macOS 12.X (Monterey) and 13.X (Ventura), Apple's
Sean Liao . unresolved

isn't 12.X sufficient, since "as of" includes all future versions like 13?

Line 28, Patchset 1 (Latest):// the proprietary Apple Unified Logging (AUL), hence this package will no longer work
Sean Liao . unresolved

"the proprietary Apple Unified Logging (AUL)" feels like it's missing a noun at the end. Their docs seem to use "system".

Line 29, Patchset 1 (Latest):// for newer OS releases. Please see https://developer.apple.com/documentation/os/logging.
Sean Liao . unresolved

newer here seems redundant with the above version spec.

Open in Gerrit

Related details

Attention is currently required from:
  • Emmanuel Odeke
  • Ian Lance Taylor
  • Michael Pratt
    Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: Idd008d546705dfc751b170eddaf3c450e96c1dd6
      Gerrit-Change-Number: 732640
      Gerrit-PatchSet: 1
      Gerrit-Owner: Emmanuel Odeke <emma...@orijtech.com>
      Gerrit-Reviewer: Emmanuel Odeke <emma...@orijtech.com>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
      Gerrit-CC: Sean Liao <se...@liao.dev>
      Gerrit-Attention: Emmanuel Odeke <emma...@orijtech.com>
      Gerrit-Attention: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Attention: Michael Pratt <mpr...@google.com>
      Gerrit-Comment-Date: Sat, 27 Dec 2025 20:52:48 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages