From owner-freebsd-questions Sun Nov 4 10:36: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from marvin.1729.net (1729.xs4all.nl [213.84.67.6]) by hub.freebsd.org (Postfix) with ESMTP id C5C6937B41D for ; Sun, 4 Nov 2001 10:35:53 -0800 (PST) Received: from arnold (arnold.lan [192.168.1.8]) by marvin.1729.net (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id UAA14461; Sun, 4 Nov 2001 20:09:51 +0100 Message-ID: <01d901c1655f$865e25a0$0801a8c0@lan.1729.net> From: "BSDJunk" To: Cc: References: <200111040049.AA3553034428@florida-wireless.com> Subject: Re: httpd log files big Date: Sun, 4 Nov 2001 19:35:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You could use newsyslog(8), which in a default installation checks the logs specified in /etc/newsyslog.conf every hour. Just add the logs you want monitored to this file. ----- Original Message ----- From: "brain_damaged" To: Sent: Sunday, November 04, 2001 6:49 AM Subject: httpd log files big > Hello > I noticed that my / was full. > I could not understand why and noticed that under > /var/log that my httpd-access and httpd-error logs are over 8 megs big. > I am running apache 3.1.9 > I am not sure were to setup a log rotation for it so that they don't get that big. > how do I do that or can I ? > > And does anyone have a perl script or program to read the httpd logs and pull out failed access or something to auto notify of virus attacks or such ? > > Thanks > Bd > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message