To start, thanks for the wonderful device. It is a joy to use and develop on and there are a ton of resources on it.
I’d like to write all system logs to an SD card so I can verify and debug the device in operation in the wild, and the built-in Zephyr FS Logging is fantastic at this. However I am running into a decent amount of trouble simultaneously using the file system to persist state data between power-on/off cycles. My issue is probably in concurrent usage of the file system between the logging and the state persistence. A conflict in writes can start corrupting data on the SD card.
Is there a recommended way to do this? Can the Zephyr logging co-exist with other SD card operations?