Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Piping Apache Logs To An Executable File

Status
Not open for further replies.

fatiher

Programmer
Jun 14, 2001
1
TR
Hi everybody,
I need to pipe apache log files to an executable file. Apache documentation covers something about that, but it doesn't work. I wrote an executable taking inputs from its stdinput and writes it into a file for test purposes but when i tried to start the http service, it fails to start. Is there any special thing to do ???

Here is a part form the apache documentation...
AgentLog
Syntax: AgentLog file-pipe
Default: AgentLog logs/agent_log
Module: mod_log_agent
The AgentLog directive sets the name of the file to which the server will log the UserAgent header of incoming requests. File-pipe is one of
A filename
A filename relative to the ServerRoot.
`|' followed by a command
A program to receive the agent log information on its standard input. Note the a new program will not be started for a VirtualHost if it inherits the AgentLog from the main server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top