MinnPost / object-sync-for-salesforce

WordPress plugin that maps and syncs data between Salesforce objects and WordPress objects.
https://wordpress.org/plugins/object-sync-for-salesforce/
GNU General Public License v2.0
94 stars 51 forks source link

Consider how to do logging #2

Closed jonathanstegall closed 8 years ago

jonathanstegall commented 8 years ago

There is potential for a ton of logs here. Salesforce queries, WordPress queries, hook usage, cron events, cron failures.

We need to think about how to do this in a sustainable way that works within a distributable plugin. So it needs to not fill up people's admin area with junk, but it does need to be (maybe optionally) available in there.

We need a way to avoid filling up the database to the point that it becomes a performance issue, or overwhelming to the point that it's impossible to find anything helpful.

We also need to make sure it gets rid of itself in a good way if the plugin is deactivated. No reason to leave that lying around.

jonathanstegall commented 8 years ago

Have a bunch of commits to achieve this. Basic functionality ends with commit a34373eef5a26565ea2919a9906ff143416dc677