Technology Insights

Configure LiteSpeed Web Server Logging Options

Most of the logging options for LiteSpeed web server are very basic and general however I wanted to detail them to help others make educated decisions when it comes to the logging configuration. There is one option I use outside of the normal log configurations which is configured in a tab other than the log tab under server configuration. Below I will explain all of the configuration options and provide examples of what I recommend for LiteSpeed.

The very first thing I do when configuring a new server is to modify the “Disable Initial Log Rotation” option from “Not Set” to Yes. The purpose of this option is to make the lsws log file directory a bit more manageable. The Disable Initial Log Rotation option will stop the error.log file from being rotated every time the server is restarted. If you are on a development server this might happen numerous times a day thus creating a mess in your log directory. Instead I only rotate the error.log file based on size as described in detail below.

Technology Errors

Zen Cart Error Debug: Checkout Process Showing a Blank Page

Recently I had a Zen Cart store showing a completely blank page during the checkout process. With the default settings we were unable to find out what the issue was so we needed to figure out a way for more debugging. To easily accomplish a verbose debug log of each action on the site you can download a Zen Cart add-on called “Debug Error Logging Utility”. This add-on will provide details of each page processed on the site or for the administration section. Follow the directions below to enable more logging.

  1. Download Debug Error Logging Utility: Visit the following URL in a browser to download the Debug Error Logging Utility: Download Here