iTP Secure WebServer System Administrator's Guide (Version 7.0)

Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide523346-012
7-24
Planning Space for Logs
Fields are provided for security information, such as the name of an authenticated
user.
The name/value pairs used for the information fields support the addition of new
logging fields (such as a field for security information).
The overall format makes it easy to write new log-analysis programs.
If you plan to write your own log-analysis programs, or if you need to use the additional
information fields, you might want to specify ELF. CLF and ELF are described in detail
in Appendix C, Server Log File Formats.
Planning Space for Logs
Because the server log files can grow quickly in size, you should plan adequate space
for them.
Table 7-1 compares the expected daily growth in the size of the server log files for
various aggregate numbers of daily requests. This table assumes a typical entry size of
100 bytes for the access log file and a typical entry size of 150 bytes for the extended
log file. The size of the error log file will depend on the frequency of access errors.
Table 7-1 assumes that the error log file will grow at 20 percent the rate of the access
log file.
Rotating Log Files
As the server log files grow in size, you will eventually need to rotate to new ones: that
is, either archive or delete the old files (depending on your policy) and create new files.
There are a number of ways you can automatically save current log files and have iTP
Secure WebServer begin logging to new files.
Using the rollover and rollstarth Scripts to Rotate Log Files
You can use the rollover or the rollstarth script to rotate the log files of the iTP
Secure WebServer specified in the httpd.config file. The rollover script saves the
Table 7-1. Required Log-File Space
Requests/Day Access Log Size Error Log Size Extended Log Size
5,000 488K 98K 732K
10,000 976K 195K 1.5 Mb
20,000 1.9 Mb 0.4 Mb 3.0 Mb
50,000 4.8 Mb 1.0 Mb 7.2 Mb
100,000 9.7 Mb 1.9 Mb 14.5 Mb
200,000 19.0 Mb 3.8 Mb 28.5 Mb
500,000 48.0 Mb 9.6 Mb 72.0 Mb
1,000,000 97.0 Mb 19.4 Mb 145.5 Mb