From owner-freebsd-questions Fri Nov 2 12:51:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 1B9EE37B407 for ; Fri, 2 Nov 2001 12:51:37 -0800 (PST) Received: from dialup-209.247.136.94.dial1.sanjose1.level3.net ([209.247.136.94] helo=blossom.cjclark.org) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 15zlHm-0004OC-00 for freebsd-questions@FreeBSD.ORG; Fri, 02 Nov 2001 12:51:31 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fA2Kp4109743 for freebsd-questions@FreeBSD.ORG; Fri, 2 Nov 2001 12:51:04 -0800 (PST) (envelope-from cjc) Date: Fri, 2 Nov 2001 12:51:03 -0800 From: "Crist J. Clark" To: freebsd-questions@FreeBSD.ORG Subject: Re: newsyslog blanket roll question Message-ID: <20011102125103.N4360@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011102124956.A1702@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011102124956.A1702@keyslapper.org>; from leblanc+freebsd@keyslapper.org on Fri, Nov 02, 2001 at 12:49:57PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 02, 2001 at 12:49:57PM -0500, Louis LeBlanc wrote: > Hey all. Quick newsyslog.conf question: [snip] > My question is can I do a blanket roll and just HUP Apache > once if I configure Apache to use logfiles that fit the pattern > http*log and just roll them as follows: > > /var/log/http*log 644 5 * $W6D0 Z /var/run/http.pid > > I don't see any indication in the manpage that this will or will not > work, so I thought I'd pop the question out here. I could just try > this, but I don't want to hose the logging if I can help it. newsyslog(8) has no support for globbing. It will not work how you want. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message