That's cool, I don't remember that being around back when I was still using
Apache.

Looks like this will do exactly what you want.

> -----Original Message-----
> From: Erika L. Walker [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 29, 2006 3:16 PM
> To: CF-Community
> Subject: RE: Apache Logs
> 
> It's on a windows machine.
> 
> Found this at Apache:
> 
> ----------------------
> Piped Logs
> 
> Apache httpd is capable of writing error and access log files through a
> pipe to another process, rather than directly to a file. This capability
> dramatically increases the flexibility of logging, without adding code
> to the main server. In order to write logs to a pipe, simply replace the
> filename with the pipe character "|", followed by the name of the
> executable which should accept log entries on its standard input. Apache
> will start the piped-log process when the server starts, and will
> restart it if it crashes while the server is running. (This last feature
> is why we can refer to this technique as "reliable piped logging".)
> 
> Piped log processes are spawned by the parent Apache httpd process, and
> inherit the userid of that process. This means that piped log programs
> usually run as root. It is therefore very important to keep the programs
> simple and secure.
> 
> One important use of piped logs is to allow log rotation without having
> to restart the server. The Apache HTTP Server includes a simple program
> called rotatelogs for this purpose. For example, to rotate the logs
> every 24 hours, you can use:
> 
>     CustomLog "|/usr/local/apache/bin/rotatelogs /var/log/access_log
> 86400" common
> 
> A similar, but much more flexible log rotation program called cronolog
> is available at an external site.
> 
> As with conditional logging, piped logs are a very powerful tool, but
> they should not be used where a simpler solution like off-line
> post-processing is available.
> ----------------------
> 
> 
> Can someone explain that to me in laymen's terms? Will it create a log
> for every day?
> 
> 
> Thanks!!!!
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:202127
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to