In order to enable debug logs for the Powered Cache, you can add example configurations to your wp-config.php file

define( 'POWERED_CACHE_ENABLE_LOG', true ); 
define( 'POWERED_CACHE_LOG_FILE', dirname( __FILE__ ) . '/log.txt' );
  • We don’t recommend enabling logging on production websites.
  • Make sure the log file is out of the public directory, or access restricted to that file.
  • If you don’t define POWERED_CACHE_LOG_FILE the logs will be send to standard stream that error_log uses.
  • You can define POWERED_CACHE_LOG_IP for the enable logging only for the particular IP address.

Tagged: