TransferLog directive


Purpose

The TransferLog directive tells httpd where to record client accesses.

The logfile format is as follows. Each line consists of:

remote-host [date] request

You can determine the name of the file accessed through request.


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/httpd-accesses

This logs transfers to the file /tmp/httpd-accesses.

TransferLog /dev/null

This effectively turns off transfer logging.


Return to Server Configuration File Overview

httpd@ncsa.uiuc.edu