Skip to content

feat(syslog): the RFC 5424 and journald emitter the tools each carried - #46

Merged
HaoZeke merged 1 commit into
mainfrom
feat/syslog
Nov 19, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
feat/syslog

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Step 1 of the issue: zig_common.syslog, taken from eb-keep-logs/src/syslog.zig with its tests and with sys imported from this library.

  • Scheme, Target, default_pen, parseTarget, parsePen
  • Param, JournalField, formatRfc5424, formatJournald
  • emit: one send over a unix datagram socket, the journald socket, UDP or TCP, with a timeout; it never fails the caller

No tool changes here. eb-keep-logs and eessi-arch-guard switch to the module in their own changes after a release.

Checked

The workflow on the branch: test on x86_64 and aarch64, and the tools (stackhands/eb-keep-logs, zig) job.

Closes #45

Taken from eb-keep-logs src/syslog.zig with its tests. eessi-arch-guard
has the same transport and framing under event builders of its own.
Tools switch to this module in their own changes.
@HaoZeke
HaoZeke merged commit 79ec324 into main Nov 19, 2026
5 checks passed
@HaoZeke
HaoZeke deleted the feat/syslog branch November 19, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

syslog: eb-keep-logs and eessi-arch-guard each carry the same emitter

1 participant