Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:config:bug-reporting [2019/11/21 15:09] Jackson Zhang [How to Submit a Bug Report] |
litespeed_wiki:config:bug-reporting [2020/01/03 17:52] (current) George Wang [How to Toggle Debug Logging and Capture Output] |
||
---|---|---|---|
Line 269: | Line 269: | ||
Toggle LiteSpeed server debug log (run once to turn on, run again to turn off): | Toggle LiteSpeed server debug log (run once to turn on, run again to turn off): | ||
- | killall -USR2 litespeed | + | pkill -USR2 litespeed |
Reproduce the issue in your browser. | Reproduce the issue in your browser. | ||
Toggle the debug log off: | Toggle the debug log off: | ||
- | killall -USR2 litespeed | + | pkill -USR2 litespeed |
Move the debug log to ''error_log.debug'': | Move the debug log to ''error_log.debug'': | ||
mv error_log error_log.debug | mv error_log error_log.debug | ||
- | The ''error_log.debug'' file could be very big if it is a busy shared production server, since there could be many domains servicing requests at the same time. It might be good to just focus on the IP of your location. (You can easily find your own IP by searching ''IP'' at google.com.) | + | The ''error_log.debug'' file could be very big if it is a busy shared production server, since there could be many domains servicing requests at the same time. When forward the log file please compress it. |
+ | |||
+ | If compressed log file is still too big, it might be good to just focus on the IP of your location. (You can easily find your own IP by searching ''IP'' at google.com.) | ||
grep your_IP error_log.debug > error_log.debug.ip | grep your_IP error_log.debug > error_log.debug.ip | ||
- | (Substitute your actual IP address where it says ''your_IP''.) | + | (Substitute your actual IP address where it says ''your_IP''.) Some related debug log entries are not marked with your IP address, so we may miss some important information to diagnose the problem. The original log file should be kept just in case we need that. We recommend sending the full log. |
You can then forward ''error_log.debug.ip'' along with detailed steps to reproduce issue to ''bug@litespeedtech.com'' for investigation. | You can then forward ''error_log.debug.ip'' along with detailed steps to reproduce issue to ''bug@litespeedtech.com'' for investigation. | ||