@suthagar23, taking a step back, what is the “user story” behind what you’re doing here? Why are we storing logs?
E.g. one valuable thing is to track user behavior, to analyze how the app is being used. In this case you need to get those logs to the server side.
I don’t personally see much value in storing logs long-term on the client-side. Is it feasible for a typical end-user to find these and do something useful with them? Using browser db storage seems overkill for the small use cal…