iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
7-21
Managing Log Files
Description:
Use the Region directive to control access to the server by path component. The
command(s) specified are applied to all URLs matching URL_path. The NoCache
command is used to disable file caching for all URLs matching the URL_path. In
other words, none of the file opens, file stats, or file contents in the region are
cached.
The file caching mechanism is applied to all disk files on an iTP Secure WebServer.
If a small number of disk files require constant updates, frequent updates to the file
cache may also be required, and this might impact the overall performance of the
iTP Secure WebServer. The NoCache Region command can be used to exclude
some of these files from file caching and allow the static files to remain in the cache
longer, and thus help maintain a good performance.
However, the Region directive is evaluated for every request and, in this case, every
file access. Therefore, too many Region directives may also affect the efficiency of
the iTP Secure WebServer. It may be best to keep all constantly updated files in a
single region.
Default:
When no Region directive or no NoCache command in the Region directives is
present, the server attempts to cache all files accessed.
Example:
Region /h/dynamic_files/* {
NoCache
}
Managing Log Files
This section tells you how to manage your log files including:
•
Choosing a Log Format (See page 7-21)
•
Planning Space for Logs (See page 7-22)
•
Rotating Log Files (See page 7-23)
Choosing a Log Format
You can choose between two formats for your server log files:
•
Common Log Format (CLF) (See below)
•
Extended Log Format (ELF) (See below)










