From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 15:19:55 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 3220D16A4CE for ; Thu, 28 Apr 2005 15:19:55 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E10B143D54 for ; Thu, 28 Apr 2005 15:19:54 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd49554 (utd49554.utdallas.edu [129.110.3.85]) by smtp1.utdallas.edu (Postfix) with ESMTP id 112D0388F0D for ; Thu, 28 Apr 2005 10:19:54 -0500 (CDT) Date: Thu, 28 Apr 2005 10:19:53 -0500 From: Paul Schmehl To: FreeBSD questions Message-ID: <0716285D22868BA8E423A522@utd49554.utdallas.edu> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Apache rewrite log and newsyslog.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:19:55 -0000 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? uname -v FreeBSD 4.9-SECURITY #0: Mon Jun 7 18:02:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu