Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:config:toggle-debug-logging [2015/07/30 19:06]
Michael Alegre
litespeed_wiki:config:toggle-debug-logging [2019/12/21 20:46]
George Wang [Use Toggle Debug Logging]
Line 9: Line 9:
 {{ :​litespeed_wiki:​toggle_debug_base_settings.png?​direct700px |}} {{ :​litespeed_wiki:​toggle_debug_base_settings.png?​direct700px |}}
  
-===== Use Toggle Debug Logging =====+===== Send Signal SIGUSR2 to Toggle Debug Logging From command line===== 
 + 
 +Back up or delete old ''​error_log'':​ 
 +  mv error_log error_log.old 
 + 
 +Toggle LiteSpeed server debug log (run once to turn on, run again to turn off): 
 +  killall -USR2 litespeed 
 + 
 +Reproduce the issue in your browser. 
 + 
 +Toggle the debug log off: 
 +  killall -USR2 litespeed 
 + 
 +Move the debug log to ''​error_log.debug'':​ 
 +  mv error_log error_log.debug 
 +   
 +The ''​error_log.debug''​ file could be very big if it is a busy production server, please make sure to turn it off after getting necessary debug log.  
 + 
 +If need to forward it to our support department, please gzip it first.  
 + 
 +===== Use Toggle Debug Logging ​From WebAdmin Console=====
  
 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. 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.
  • Admin
  • Last modified: 2019/12/22 17:40
  • by George Wang