linguini1 opened a new pull request, #16493: URL: https://github.com/apache/nuttx/pull/16493
## Summary Initial implementation of RFC 5424 support (syslog protocol). Allows users to format the syslog output in a RFC 5424 compatible way, making NuttX systems originators that are able to interface with syslog collectors and relays (useful for logging to syslog servers). In addition to regular formatting options for syslog output, users can also add structured data (currently only timeQuality is implemented, assuming no sync and no timezone is no known). Facilities and severities now also follow RFC 5424. Support for additional features (like hostname, msgid, etc.) will need to be built into the syslog implementation if desired. ## Impact This has an impact on users since they are now able to use NuttX devices with RFC 5424 compatible logging servers! They can also monitor system logs over the network using tools like WireShark. System logs are now network routable information. Coupled with the twin PR here (), users will be able to have an "out-of-the-box" experience using NuttX devices with ``syslog`` servers. This has an impact on the `syslog` implementation by adding a formatting option that enforces RFC 5424 compatible output. This has an impact on the `syslog` implementation by assigning numbers to the `syslog` facilities defined on NuttX, in compatibility with RFC 5424. This has an impact on the `syslog` build system since new Kconfig options were added. This has an impact on the documentation, since the new `syslog` features were documented. ## Testing Testing was performed by compiling the syslog changes with all new options enabled locally. Build succeeded for both `sim` and the `raspberrpi-pico-w` platforms. Both platforms were used to verify correct RFC 5424 output in the console from `RAMLOG` with `dmesg`. Testing was also performed using `syslogd`, see the other PR for more details: Documentation build was verified to have no build errors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org