Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:toggle_debug_logging [2013/08/13 18:26]
Michael
— (current)
Line 1: Line 1:
-====== Toggle Debug Logging ====== 
  
-Generally, you do not want debug logging enabled. Debug logging stores lots of detailed information about LSWS's processes. This information is usually unnecessary and fills up disk space very quickly. For this reason, we advise that you set your Debug Level setting to ''​NONE''​. If, however, you are having a problem that requires more information,​ LiteSpeed'​s Toggle Debug Logging feature will allow you to quickly turn on debug logging while you reproduce the issue and then turn it off just as quickly so that your service is not affected. This wiki will guide you through setting up and using the Toggle Debug Logging feature. 
- 
-===== Setup ===== 
- 
-Toggle Debug Logging switches your Debug Level setting from ''​NONE''​ to ''​HIGH''​. Thus, in order to use Toggle Debug Logging, your Log Level must be set to ''​DEBUG''​ and your Debug Level set to ''​NONE'',​ as shown below. (These settings are in the WebAdmin console > Configuration > Server > Log.) 
- 
-{{toggle_debug_base_settings.png?​700}} 
- 
-===== Use Toggle Debug Logging ===== 
- 
-With the base settings ready, Toggle Debug Logging is really easy to use. (That is the point, after all.) Just go to the Actions menu and select Toggle Debug Logging. 
- 
-{{activate_toggle_debug.png?​700}} 
- 
-You will get a confirmation message making sure you want to toggle debug logging. Select ''​OK''​. 
- 
-{{toggle_debug_confirm.png?​700}} 
- 
-When you go look at your log now, make sure you have Display Level set to ''​DEBUG''​. 
- 
-{{toggle_debug_display_level.png?​700}} 
- 
-You should be getting all sorts of new, dark blue debug information. 
- 
-{{sample_debug_data.png?​700}} 
- 
-To toggle debug logging off again, just go back to the Actions menu and select Toggle Debug Logging again. 
- 
-{{toggle_debug_off.png?​700}} 
  • Admin
  • Last modified: 2013/08/13 18:26
  • by Michael