How can we help?

Search for answers or browse our knowledge base.

Table of Contents

How to enable request logging in WP Activity Log

The WP Activity log plugin has a built-in mechanism which allows you to keep a log of all requests sent to your website and the plugin. This feature can be very useful for debugging and development purposes. Please note that request logging is very resource intensive and must only be enabled for development or debugging purposes. It should not be enabled on a live site where possible.

To enable request logging on your WordPress website add the following to your theme\’s functions.php file or site-specific plugin.

add_filter( ‘wsal_request_logging_enabled’, ‘__return_true’ );

The request logging feature is only available in WP Activity Log premium.