You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Vincent Janelle <vj...@home.com> on 1999/08/08 10:35:12 UTC

Re: general/4809: It would be nice if Apache could write compressedlogfiles.

Rasmus Lerdorf wrote:
> 
> > > Trivial to do by linking in zlib.
> >
> > Doing so would also allow us to do the compression-on-the-fly
> > content delivery people have requested.  No?
> 
> Correct.  zlib gives you all the standard file io functions like gzopen,
> gzclose, gzread, gzwrite, gzeof, etc.
> 
> -Rasmus

So, how would this be done though?  A large site doing a lot of hits/sec
could end up spending most of its time just compressing log files.

I still like the idea of a logging process, perhaps something that could
be centerally managed, but I should probably try to write one before
asking for one =)
-- 
------------
The typical Unix hacker never can remember what the PRINT command is
called 
this week -- but when it gets right down to it, Unix is a glorified
video 
game. People don't do Serious Work on Unix systems: they send jokes
around 
the world on UUCP-net and write adventure games and research papers.
--http://random.gimp.org --mailto:random@gimp.org --UIN 23939474

Re: general/4809: It would be nice if Apache could write compressedlogfiles.

Posted by Rasmus Lerdorf <ra...@raleigh.ibm.com>.
> > > Doing so would also allow us to do the compression-on-the-fly
> > > content delivery people have requested.  No?
> > 
> > Correct.  zlib gives you all the standard file io functions like gzopen,
> > gzclose, gzread, gzwrite, gzeof, etc.
> > 
> > -Rasmus
> 
> So, how would this be done though?  A large site doing a lot of hits/sec
> could end up spending most of its time just compressing log files.

Hey, I was just relaying information.  I think it is a terrible idea to
make Apache write compressed log files on the fly.

-Rasmus