Specifications
Chapter 3 Creating and Managing Websites 41
To enable access and error logs for a website:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select Web.
4 Click Sites, then select the website in the list.
5 Click Logging below the websites list.
6 Click the “Enable Access Log” checkbox to enable this log.
7 Set how often you want the Access log to be archived by selecting the “Archive every
__ days” checkbox and entering the number of days.
8 In the Location eld, enter the path to the folder where you want to store access logs.
If you are working with multiple websites, you can name separate logs for each
website. You might want to include the site domain name in the log name for easy
recognition when reviewing logs. If you have only two websites, you might want to
use a single log (with the default name the server uses).
You can also click Choose to locate the folder you want to use.
If you are administering a remote server, File service must be running on the remote
server to use Choose.
9 From the Format pop-up menu, choose a log format.
10 If necessary, edit the format string.
Note: The Help button next to the format string opens the Apache documentation
web page (http://httpd.apache.org/docs/mod/mod_log_cong.html), which explains
parameters for format strings.
11 Set how often you want the Error log to be archived by selecting the “Archive every __
days” checkbox for the Error log and entering the number of days.
12 In the Error log Location eld, enter the path to the folder where you want to store
error logs.
You can also click Choose to locate the folder you want to use.
13 Choose the level of error in the Level pop-up menu to set which error message priority
gets logged.
14 Click Save.