This is an old revision of the document!


LiteSpeed Cache for WordPress Settings: Debug

OFF

Use this option if you need to debug your site without any caching or optimization features getting in the way. When your testing is finished, be sure to turn this back ON, or your site will not be cached or optimized.

OFF

This enables/disables the debug log. The log will be written to wp-content/debug.log.

127.0.0.1

This should be a comma delimited list of admin IPs. Admin IPs are used for debugging and admin purging purposes. When a request comes in with the admin IP, it is possible to purge front end pages using just a LSCWP_CTRL query string. More information can be found here.

Basic

This setting determines how detailed of a log to keep.

30

Specify the maximum size of the log file. Minimum is 3MB. Maximum is 3000MB.

Checked

If AJAX calls are breaking while logging, you can disable the WordPress heartbeat. Be aware that disabling this may cause WordPress tasks triggered by AJAX to stop working.

OFF

Log request cookie values.

OFF

Shorten query strings in the debug log to improve readability.

OFF

Log all WordPress filter hooks. Enabling this option will cause log file size to grow quickly, so only enable it if absolutely necessary.

gettext
gettext_with_context
get_the_terms
get_term

If you have enabled filter logging, you can specify a list of filters (one per line) that will not be logged.

i18n
locale
settings
option

Filters containing these strings (one per line) will not be logged.

  • Admin
  • Last modified: 2018/04/02 20:44
  • by Lisa Clarke