Persistent event logging
-
I would like to implement persistent event logging into local file system. What approach to choose to achieve solution resilient to power outages? Using new LittleFS file system might help but I am a little bit concerned because there is also config file stored in the file system in case of our application. I was considering to move the config to RTC memory. Using NVS for persistent store of config is not an option as it currently supports only integers.
-
@paul-thornton
Thank's Paul, anyway it would be helpful to implement NVS support for string and blob objects. I think this is already available in the IDF.
What's your opinion @iwahdan ?
-
That should work. I'm sure your well aware already but you'll also need some kind of house keeping process to clear and/or sync the logs to a remote host after a while to.