From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 15:33:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3312B16A4CE for ; Thu, 28 Apr 2005 15:33:46 +0000 (GMT) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A735643D4C for ; Thu, 28 Apr 2005 15:33:45 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from [172.26.2.238] ([172.26.2.238]) by mail.scls.lib.wi.us (8.12.9p2/8.12.9) with ESMTP id j3SFXiXm092563; Thu, 28 Apr 2005 10:33:44 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-ID: <427101F8.8000509@scls.lib.wi.us> Date: Thu, 28 Apr 2005 10:32:08 -0500 From: Greg Barniskis User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Schmehl References: <0716285D22868BA8E423A522@utd49554.utdallas.edu> In-Reply-To: <0716285D22868BA8E423A522@utd49554.utdallas.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD questions Subject: Re: Apache rewrite log and newsyslog.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:33:46 -0000 Paul Schmehl wrote: > I maintain a small hobby website for some friends. I use mod_rewrite, > and apache logs all rewrites to /var/log/httpd/rewrite_log. The log > gets very large and files up /var, so I added it to newsyslog.conf: > > /var/log/httpd-access.log 640 5 * $W0D0 Z > /var/log/httpd-error.log 640 5 * $W0D0 Z > /var/log/httpd/rewrite.log 640 5 * $W0D0 Z > > As you can see, the newsyslog.conf settings are identical to the > httpd-access.log and the httpd-error.log. Both of those logs are > rotated daily and only five gzipped backup copies are maintained. > > For some reason, the rewrite_log never gets turned over. Has anyone > seen this problem? What might I be doing wrong? is it really httpd/rewrite.log or is that a typo for httpd-rewrite.log? if the file really is in its own subdirectory, permissions on that dir? tried keeping the file in /var/log proper instead for real parity with the other httpd log configs? -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348