Date: Sun, 4 Nov 2001 19:35:49 +0100 From: "BSDJunk" <BSDJunk@bzerk.org> To: <freebsd-questions@FreeBSD.ORG> Cc: <brain_damaged@florida-wireless.com> Subject: Re: httpd log files big Message-ID: <01d901c1655f$865e25a0$0801a8c0@lan.1729.net> References: <200111040049.AA3553034428@florida-wireless.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <brain_damaged@florida-wireless.com> To: <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d901c1655f$865e25a0$0801a8c0>