Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC5424 specifies MSGID as a string (not a number) #74

Open
ChezBunch opened this issue Jun 5, 2023 · 0 comments
Open

RFC5424 specifies MSGID as a string (not a number) #74

ChezBunch opened this issue Jun 5, 2023 · 0 comments

Comments

@ChezBunch
Copy link

The RFC5424 LogFormat implementation expects a u32 message_id, but the RFC5424 specifies MSGID as a string.
From https://datatracker.ietf.org/doc/html/rfc5424:

      MSGID           = NILVALUE / 1*32PRINTUSASCII
...
      PRINTUSASCII    = %d33-126
...
      NILVALUE        = "-"

I don't know if it's possible to change the type of message_id to a string while retaining compatibility with u32.

Repository owner deleted a comment from tisonkun Nov 12, 2024
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

No branches or pull requests

1 participant