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.
-
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.
-
@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 ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login