Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:lscwp:configuration:debug [2018/06/15 13:15] Lisa Clarke [Disable All Features] Fixed typo and made clarification |
litespeed_wiki:cache:lscwp:configuration:debug [2020/11/14 15:22] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LiteSpeed Cache for WordPress Settings: Debug ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscwp/toolbox/~~ |
- | + | ||
- | {{:litespeed_wiki:cache:lscwp:lscwp-settings-debug.png?direct&800|}} | + | |
- | + | ||
- | ===== Disable All Features ===== | + | |
- | //OFF// | + | |
- | + | ||
- | Turn this option ON 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 **Disable All Features** back OFF, or your site will not be cached or optimized. | + | |
- | + | ||
- | ===== Debug Log ===== | + | |
- | //OFF// | + | |
- | + | ||
- | This enables/disables the debug log. The log will be written to wp-content/debug.log. | + | |
- | + | ||
- | ===== Admin IPs ===== | + | |
- | //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. | + | |
- | + | ||
- | ===== Debug Level ===== | + | |
- | + | ||
- | //Basic// | + | |
- | + | ||
- | This setting determines how detailed of a log to keep. | + | |
- | + | ||
- | ===== Log File Size Limit ===== | + | |
- | //30// | + | |
- | + | ||
- | Specify the maximum size of the log file. Minimum is 3MB. Maximum is 3000MB. | + | |
- | + | ||
- | ===== Heartbeat ===== | + | |
- | + | ||
- | //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. | + | |
- | + | ||
- | ===== Log Cookies ===== | + | |
- | //OFF// | + | |
- | + | ||
- | Log request cookie values. | + | |
- | + | ||
- | ===== Collapse Query Strings ===== | + | |
- | //OFF// | + | |
- | + | ||
- | Shorten query strings in the debug log to improve readability. | + | |
- | + | ||
- | ===== Log Filters ===== | + | |
- | //OFF// | + | |
- | + | ||
- | Log all WordPress filter hooks. Enabling this option will cause log file size to grow quickly, so only enable it if absolutely necessary. | + | |
- | + | ||
- | ===== Exclude Filters ===== | + | |
- | //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. | + | |
- | + | ||
- | ===== Exclude Part Filters ===== | + | |
- | //i18n\\ | + | |
- | locale\\ | + | |
- | settings\\ | + | |
- | option// | + | |
- | + | ||
- | Filters containing these strings (one per line) will not be logged. | + |