TransferLog directive


Purpose

The TransferLog directive tells httpd where to record client accesses.

The logfile format conforms to that produced by many other servers, including those from NCSA and CERN. This format is called the Common Log Format.


Syntax

TransferLog file

file is the name of the file to which transfers will be logged. It is either a full pathname, or a partial pathname relative to ServerRoot.

Only one TransferLog directive is allowed in the configuration file.


Default

If you do not specify a TransferLog, httpd assumes:

TransferLog logs/access.log


Examples

TransferLog logs/downloads

This logs transfers to the file logs/downloads in the ServerRoot directory.

TransferLog /tmp/httpdacc.log

This logs transfers to the file /tmp/httpdacc.log.

TransferLog NUL:

This effectively turns off transfer logging.

Return to Server Configuration File Overview


Robert B. Denny <rdenny@netcom.com>