iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-002
7-24
Planning Space for Logs
If you plan to write your own log-analysis programs, or if you need to use the additional
information fields, you may wish to specify ELF. ELF also allows you to make best use
of WebReporter. For more information, refer to the iTP Secure WebServer
WebReporter Command Reference Manual and the iTP Secure WebServer
WebReporter User’s Guide.
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 shows 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 httpd.config. The rollover script saves current log
files and causes the iTP Secure WebServer to begin writing to new ones; the iTP
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










