Re: Apache logging and fifo's

Charles Cazabon <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Charles M. Gerungan <[email protected]> wrote:
> I'm trying to have apache 1.3 log using multilog.

It's really easy to do this.

> What I'm trying to accomplish is the following (if this approach has
> drawbacks please share them):

Way too complicated.  Apache has support for invoking an external program for
logging; just do:

 CustomLog "| /usr/local/bin/setuidgid loguser /usr/local/bin/multilog t 
   /web/logs/access" combined 

... adjusting your options as appropriate.  See
http://fte.tegtmeyer.net/zope/logging for another approach.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                              <[email protected]>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.