bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feeping creaturism


From: Adam Olsen
Subject: Re: feeping creaturism
Date: Mon, 11 Mar 2002 07:40:34 +0000
User-agent: Mutt/1.3.25i

On Sun, Mar 10, 2002 at 06:38:33PM -0800, James Morrison wrote:
> Well, this is quite a feature to add.  Personally, I intend on using
> this in conjunction with a transdir translator to store my apache
> logs.  Transdir[1] will be a stripped down hostmux, that doesn't mux
> anything.  So I'll do this
> settrans /var/log/apache /hurd/transdir /hurd/filemux --date="%Y-%W"
> /home/jim/apache '${file}'
> 
> This will store my apache logs in /home/jim/apache, and
> /var/log/apache will just be a reference to this weeks logs.  Now if
> I can figure out a way to add transparent gunzip to filemux, I will
> have found a way to replace all the things I know logrotate does with
> translators that do the job better and more accurately.
> 
> [1] If anyone has a better name for this idea, I would be happy to
> here it.

Just one question.  Does apache keep the log open long term, or does
it open and close it for each item it writes?  If it keeps it open
you'll have the problem that the log never rotates (it'd keep the old
file open), unless you split out individual lines, but then you'd need
special handling to keep apache's pairs of lines together.


-- 
Adam Olsen, aka Rhamphoryncus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]