xiaoxiang781216 commented on code in PR #16493:
URL: https://github.com/apache/nuttx/pull/16493#discussion_r2138571543


##########
drivers/syslog/Kconfig:
##########
@@ -140,61 +140,94 @@ config SYSLOG_INTBUFSIZE
 
 comment "Formatting options"
 
+config SYSLOG_RFC5424
+       bool "Standard syslog format (RFC 5424)"
+       default n
+       ---help---
+               Forces syslog logs to follow the RFC 5424 (syslog protocol) 
standard.
+               This allows for structured data elements, standard severity 
levels,
+               standard facilities, standard timestamps and other features 
that allow
+               syslogs to be compatible with other open source programs (such 
as
+               logging servers).
+
+if SYSLOG_RFC5424
+
+comment "RFC5424 options"
+
+config SYSLOG_RFC5424_HOSTNAME
+       bool "Enable hostname field"
+       default n
+       ---help---
+               Adds the HOSTNAME field to the RFC 5424 compatible syslog 
output.
+
+config SYSLOG_RFC5424_TIMEQUALITY
+       bool "timeQuality structured data"
+       depends on SYSLOG_TIMESTAMP

Review Comment:
   but timestamp is required by rfc5424?



-- 
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

Reply via email to