From owner-freebsd-questions Thu Mar 23 23: 3:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ptldpop1.ptld.uswest.net (ptldpop1.ptld.uswest.net [198.36.160.1]) by hub.freebsd.org (Postfix) with SMTP id 520D137B68D for ; Thu, 23 Mar 2000 23:03:38 -0800 (PST) (envelope-from wwoods@cybcon.com) Received: (qmail 5651 invoked by alias); 24 Mar 2000 07:03:33 -0000 Delivered-To: fixup-freebsd-questions@freebsd.org@fixme Received: (qmail 5634 invoked by uid 0); 24 Mar 2000 07:03:32 -0000 Received: from unknown (HELO laptop.cybcon.com) (63.227.213.90) by ptldpop1.ptld.uswest.net with SMTP; 24 Mar 2000 07:03:32 -0000 Content-Length: 1648 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 23 Mar 2000 23:03:28 -0800 (PST) Reply-To: bwoods2@uswest.net From: William Woods To: freebsd-questions@freebsd.org Subject: Apache on FreeBSD Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a question about rotating logs on Apache under freebsd. Would this: # configuration file for newsyslog # $FreeBSD: src/etc/newsyslog.conf,v 1.25 2000/02/08 21:57:27 rwatson Exp $ # # logfilename [owner:group] mode count size when [ZB] [/pid_file] [sig_num] /var/log/cron 600 3 100 * Z /var/log/amd.log 664 7 100 * Z /var/log/kerberos.log 664 7 100 * Z /var/log/lpd-errs 664 7 100 * Z /var/log/maillog 664 7 * @T00 Z /var/log/sendmail.st 664 10 * 168 B /var/log/messages 664 5 100 * Z /var/log/all.log 600 7 * @T00 Z /var/log/slip.log 600 3 100 * Z /var/log/ppp.log 600 3 100 * Z /var/log/security 600 10 100 * Z /var/log/wtmp 644 3 * @01T05 B /var/log/httpd-access.log 644 8 * 168 B /var/run/httpd.pid 30 This is my newsyslog.con file, would that list line rotate my apache logs on a weekly basis? ---------------------------------- E-Mail: bwoods2@uswest.net Date: 23-Mar-00 Time: 23:00:33l ---------------------------------- NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5, Subchapter II, 227, and all unsolicited commercial e-mail sent to this address is subject to a download and archival fee in the amount of $500 US To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message