Hello, is there a way to stop entirely the functionality of activity logging?
I like the “report” part of the Child Reports plugin, but I dont need the activity log (stream) and I don’t want it to burden my database with write operations. Is there a way to stop only this feature without uninstalling the whole plugin?
The logging made by the Child Reports plugin that ends up in the reports is different from the Network Activity (activity log) logging.
Network Activity can be disabled completely, the retention period can be shortened, or you can just disable specific events you don’t want to log: Network Activity - MainWP Documentation
Thanks for your reply. Btw I’m not using the Activity log by Melapress (your linked resource), but your own native logger.
So if i understand correctly:
From the MainWP Dashboard (not inside each child site settings), I can disable entirely the logging feature in all child sites at once, by turning off the setting "Enable insights logging"?
If I disable the activity logging entirely, there will be no missing data from my reports,right? For example, plugin updates will still be present in client reports, even if I stop logging the Plugins>Updated activity context. Am i right? Is this what you mean that “reports is different from the Network Activity”?
If I want to disable logging per site (not globally), should I use the filter wp_mainwp_stream_is_record_excluded? It is not very convenient to add exclusion rules for everything, too many rules… Is this the right approach to turn it off for a specific child site?
Thank you Bojan, any clarification possible will be appreciated.
Understood and I was talking about built-in Network Activity. I put Activity Log in brackets because you referred to it as such, but our forum automatically added a link to Melapress’ Activity Log.
Currently, Network Activity can only be controlled globally (on this page wp-admin/admin.php?page=SettingsInsights) and not per child.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.