• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Apache Modules > mod_log_agent

19.25. mod_log_agent

The mod_log_agent module allows logging of client user agents.

AgentLog

AgentLog file|pipe-command

[server config, or within <VirtualHost>]

This directive specifies the name of the file relative to ServerRoot the server logs user-agent information in. If you wish, you can specify a pipe ( | ) followed by a shell command in place of the filename; the program runs as the user that started the httpd server and receives the log information as standard input. For example:

AgentLog |"grep email >>.emaillog"

The default file is logs/agent_log.

(All)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint