-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging service #200
Comments
@mhluongo Since we are already using IndexDB for storing account and transaction information, I think it would make sense to persist log files in IndexDB as well. Any objections? |
None, but let me open the "pre-issue" to this.. I have a feeling you'll want to do this in two pieces. EDIT: Here it is |
Want to flag a concern that persistent rather than ephemeral logs may require much more careful usage of logging functions to avoid increasing the danger if the extension storage is compromised somehow. |
I think I would go with session storage usage because logs can accumulate to terrible sizes and we are not really interested in logs from ages ago I was not sure if it's available from the background script but it seems so based on the mdn js api list for bg scripts |
We have pieces of this in |
Would it be possible to have a toggle in the settings page for console logs? If eventually disabling them by default is still a goal that would make the change extremely simple when the time comes. |
True but I'm not sure we'd want to allow disabling them completely. It's much simpler for a user who just ran into an issue to go to settings and export logs, rather than enable logs and try to reproduce the issue again. That said, logging definitely needs some work. There seems to be a lot of unnecessary noise so the log level for certain things might not be entirely accurate 🤔 |
To be clear, that bullet refers to not calling |
Ah, makes sense, thanks for making that clear |
We need a single service that...
The text was updated successfully, but these errors were encountered: