Oracle B12255-01 Manuale Utente

Pagina di 224
Specifying Log Files
Configuring and Using Server Logs
6-7
Specifying Log Files
The log files are discussed in the subsequent sections:
It is important to periodically rotate the log files by moving or deleting existing logs
on a moderately busy server. For this, the server must be restarted after the log files
are moved or deleted so that new log files are opened.
Access Log
The server access log records all requests processed by the server. The location and
content of the access log is controlled by the
 directive. The LogFormat
directive can be used to simplify the selection of the contents of the logs.
CustomLog
The CustomLog directive is used to log requests to the server. A log format is
specified, and the logging can optionally be made conditional on request
characteristics using environment variables.
See Also:
“Log Rotation” in the Apache Server documentation.
See Also:
“Access Log” in the Apache Server documentation.
See Also:
“CustomLog directive” in the Apache Server
documentation.