[Top][All Lists]

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

Re: feeping creaturism

From: Oystein Viggen
Subject: Re: feeping creaturism
Date: Mon, 11 Mar 2002 09:35:43 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.1 (Capitol Reef, i386-debian-linux)

* [Adam Olsen] 

> 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.

In Debian's /etc/cron.daily/apache that currently does log rotating,
the program is sent a SIGHUP to reopen its log file.  The easiest way of
getting the filemuxing to work would probably be to use cron to HUP the
server (but that kind of defeats the point of the whole translator setup).

As the file is only written to, one might get away with changing files
under apaches feet (provided, I think, that actual file writes and not
only lookups go through filemux).  This gets rid of any cron work
(except deleting old logs), but it feels to me like unpredictable
behaviour that could confuse users and programs both.

When in doubt: Think again.

reply via email to

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