Re: Squid logfiles routieren

From: Dominik Brettnacher <domi(at)saargate.de>
Date: Tue, 13 Nov 2001 21:30:23 +0100 (CET)

On Tue, 13 Nov 2001, Martin Hasenbein wrote:

> ich bin mir nicht sicher, ob das bei Squid auch zutrifft, aber bei Apache ist
> es meines Wissens z.B. so, daß ein einfaches newsyslog Probleme bereitet.
> Apache merkt sich auch das inode, wo das Logfile lag und wenn dann newsyslog
> ein neues erstellt ist das ja auf einem anderen inode und Apache schreibt
> dann fröhlich das Dateisystem voll. Erst wenn man Apache HUPt, merkt er
> wo das Logfile liegt und schreibt dort wieder rein.

Man kann in der newsyslog.conf den Pfad zu einer PID-Datei angeben, dann
wird auch Apache wie gewünscht benachrichtigt.

-- 
Dominik - http://www.brettnacher.org/users/dominik/
"A good piece of technology dreams of the day when it will be replaced by a
 newer piece of technology. This is one definition of progress."
			-- Douglas Coupland
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 13 Nov 2001 - 21:36:51 CET

search this site