THE VIRTUAL SERVER HANDBOOK
TransferLog
The
TransferLog
directive is used to identify the location of a file that
will contain a record of all requests made to your web server. If you are
using the
CustomLog
directive to define the format of your log files, the
format of your
TransferLog
file will be defined by the most recent
LogFormat
directive, or Common Log Format if no other default format
has been specified. If you would like entries in your transfer log to be
formatted using the Combined Log Format, you will need to create a
custom
LogFormat
definition. You can also process your Transfer Log
entries with an external application by defining your
TransferLog
using
a file pipe "|," an example is included below. (Please refer to the section in
this chapter, "Managing Server Log Files," for more information).
The following is an example:
TransferLog logs/access_log
Or
TransferLog "|rotatelogs /www/logs/access_log
86400"
For more information, see:
http://www.apache.org/docs/mod/mod_log_config.html#transferlog
http://www.apache.org/docs/mod/mod_log_config.html#customlog
RefererLog
The
RefererLog
directive is used to identify the location of a file that
will contain a record of all referrer information.
The following is an example:
RefererLog logs/referer_log
For more information, see:
http://www.apache.org/docs/mod/mod_log_referer.html#refererlog
AgentLog
The
AgentLog
directive is used to identify the location of a file that
contains a record of all browser agent information.
The following is an example:
AgentLog logs/agent_log
For more information, see:
http://www.apache.org/docs/mod/mod_log_agent.html#agentlog
COPYRIGHT
1999 DIGITAL TOOLS LLC.
94