AgentLog
AgentLog file-pipe AgentLog logs/agent_log Server config, virtual host Not in Apache v2
The AgentLog
directive sets the name of the file
to which the server will log the User-Agent
header
of incoming requests. file-pipe
is one of the
following:
A filename A filename relative to the ServerRoot. "| <command>"
This is a program to receive the agent log information on its
standard input. Note that a new program will not be started for a
VirtualHost
if it inherits the
AgentLog
from the main server.
If a program is used, then it will be run under the user who started httpd. This will be root if the server was started by root; be sure that the program is secure.
Also, see the Apache security tips document discussed in Chapter 11 for details on why your security could be compromised if the directory where log files are stored is writable by anyone other than the user that starts the server.
This directive is provided for compatibility with NCSA 1.4.