benmccrea opened a new pull request, #3068: URL: https://github.com/apache/mynewt-core/pull/3068
The global index is only useful for persisted logs, and if it is incremented for non-persisted logs there will be jumps in the log indexes of the persisted logs. This makes detection of missing logs a challenging task. By incrementing the global index only for persisted logs, it becomes sequentially increasing, which makes detection of missing/dropped logs trivial for upstream consumers of the logs. This PR also adds a syscfg `LOG_SHELL_SHOW_INDEX` to enable displaying the log index in the 'log' shell command output. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
