Specifying log files, Access log, Customlog – Oracle B12255-01 User Manual

Page 67: Access log -7 customlog -7

Advertising
background image

Specifying Log Files

Configuring and Using Server Logs

6-7

Specifying Log Files

The log files are discussed in the subsequent sections:

Access Log

CustomLog

Error Log

PID File

Piped Log

Rewrite Log

Script Log

SSL Log

Transfer Log

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

CustomLog

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.

Advertising