000 22:08:44 -0800 (PST) Received: from home.com (localhost [127.0.0.1]) by downstairs.conyers.net (8.11.1/8.11.1) with ESMTP id f0168YV57056; Mon, 1 Jan 2001 01:08:35 -0500 (EST) (envelope-from pnmurphy@home.com) Sender: paul@downstairs.conyers.net Message-ID: <3A501EE1.C666DD95@home.com> Date: Mon, 01 Jan 2001 01:08:33 -0500 From: Paul Murphy X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jorge Biquez Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newsyslog for rotating APACHE logs References: <5.0.2.1.2.20001231153034.01c780c0@intranet.com.mx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jorge Biquez wrote: > > Hello all. > > I'm still on the rotation files. I wanted to try newsyslog before going for > the scripts paths since seems could be simpler. > This is what I have on the newsyslog.conf file: > > # logfilename owner.group mode count size time [ZB] > [/pid_file] [sig_num] > /var/log/maillog 664 7 * 24 Z > /var/log/sendmail.st 664 10 * 168 B > /usr/home/sites/logsite01txt 664 9 * 1503 B > > since I wanted that the file rotated at the 15:03 hours. > > On the contrab file I have this: > > # > #minute hour mday month wday who command > 04 15 * * * root newsyslog > 05 15 * * * root killall -HUP httpd > > But it is not working. I checked the permission and that's not the problem. > > Any suggestions, comments or ideas?. > > Thanks in advance, > > JB > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message There are some tutorials on rotating Apache logs on FreeBSD Diary [http://www.freebsddiary.org/topics.php3#apache] -- P. Murphy Home: Lat 43.5584 Long -79.6502 Work: Lat 43.4277 Long -79.7077 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message