From owner-freebsd-isp Tue May 18 10:25:48 1999 Delivered-To: freebsd-isp@freebsd.org Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107]) by hub.freebsd.org (Postfix) with ESMTP id 84CCF151EF for ; Tue, 18 May 1999 10:25:34 -0700 (PDT) (envelope-from jcptch@osfmail.isc.rit.edu) Received: from grace ("port 1936"@[129.21.3.102]) by osfmail.isc.rit.edu (PMDF V5.2-32 #34621) with SMTP id <0FBX00DEBUW2QF@osfmail.isc.rit.edu> for freebsd-isp@FreeBSD.ORG; Tue, 18 May 1999 13:21:44 -0400 (EDT) Received: by grace (5.65v4.0/1.1.19.2/21Sep98-0910AM) id AA10556; Tue, 18 May 1999 13:21:26 -0400 Date: Tue, 18 May 1999 13:21:26 -0400 From: jcptch@osfmail.isc.rit.edu Subject: Re: Apache log files In-reply-to: ; from Robert Du Gaue on Tue, May 18, 1999 at 08:02:11AM -0700 To: freebsd-isp@FreeBSD.ORG Mail-followup-to: freebsd-isp@FreeBSD.ORG Message-id: <19990518132126.D7964@osfmail.isc.rit.edu> MIME-version: 1.0 X-Mailer: Mutt 0.95i Content-type: text/plain; charset=us-ascii X-Operating-System: OSF1 alpha References: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 18, 1999 at 08:02:11AM -0700, Robert Du Gaue wrote: > Has anyone wrote or hacked Apache to use the syslog facility? We're in the > process of putting up 3 web servers behind a Foundry ServerIron box that > will load balance and serve up the same website from 3 different boxes. > However, we want to be able to somehow direct the logs of the Apache > servers to syslog (or some other logger) so that we can keep a common > logfile for all the domains in one place rather then having to worry about > merging them all on a nightly basis. As we add more servers behind the > Foundry this will become more critical. TIA For this type of situation, it might be worth looking into mod_log_mysql, or similar. Building Apache with this module allows you to log your activity to a central database. IMHO, it's easier to generate stats, etc. than keeping your logs in text form. I haven't investigated the load / performance aspect of logging to a database, however, so it might be better or worse than syslog in that respect. -- Jon Parise (parise@pobox.com) . Rochester Inst. of Technology http://www.pobox.com/~parise/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message