xiaoxiang781216 commented on a change in pull request #2621: URL: https://github.com/apache/incubator-nuttx/pull/2621#discussion_r555851734
########## File path: drivers/syslog/Kconfig ########## @@ -111,6 +111,37 @@ config SYSLOG_TIMESTAMP_REALTIME CLOCK_MONOTONIC, if enabled, will be used or the system timer is not. +config SYSLOG_TIMESTAMP_FORMATED + bool "Formatted syslog time" + default n + depends on SYSLOG_TIMESTAMP_REALTIME Review comment: Ok, localtime_r and gmtime_r isn't good for system time, but it looks good to format the output from 61.000 to 00:01:01.000 for system time. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org