PetteriAimonen opened a new pull request, #11388: URL: https://github.com/apache/nuttx/pull/11388
## Summary Adds a new config option to prevent reading `/dev/kmsg` from clearing the log buffer. This way the latest log messages can be read multiple times, until the log gets overwritten when buffer is filled up. This matches the behavior of /dev/kmsg on Linux. ## Impact Old behavior is retained by default. When `CONFIG_RAMLOG_KEEPLOG` is enabled, reading `/dev/kmsg` no longer clears the buffer. ## Testing Tested on custom STM32F4 board by using cat to read & write /dev/kmsg. -- 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