From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 14:42:52 2004 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 B12DD16A4CE for ; Fri, 10 Dec 2004 14:42:52 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFC443D31 for ; Fri, 10 Dec 2004 14:42:52 +0000 (GMT) (envelope-from christias@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so744110rng for ; Fri, 10 Dec 2004 06:42:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=do4oiK9Wf/tsQTqp3nN5XkD7dgJ3EaIL0AvRx79IY8iie+USrS9XG8gN5fD2auSjjqgwITJag84+c6cakfZvAFabg0SVQdsmIDqacKHuHToE01XPzsu7bv/MnZv5seYCra502MA0t9VyphDPUDWhCPzu2v9+nv5N6DhmPg/MhEQ= Received: by 10.38.68.47 with SMTP id q47mr656306rna; Fri, 10 Dec 2004 06:42:51 -0800 (PST) Received: by 10.38.165.65 with HTTP; Fri, 10 Dec 2004 06:42:51 -0800 (PST) Message-ID: Date: Fri, 10 Dec 2004 16:42:51 +0200 From: Panagiotis Christias To: Gerard Samuel In-Reply-To: <41B9ACC3.7020106@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41B9ACC3.7020106@trini0.org> cc: freebsd-questions Subject: Re: Wildcard syntax in newsyslog.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Panagiotis Christias List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 14:42:52 -0000 On Fri, 10 Dec 2004 09:03:47 -0500, Gerard Samuel wrote: > Is it possible to use wildcards in newsyslog.conf? > For example, my current apache setup, I have a few virtual hosts > logging into their own file. > And instead of specifying each file in newsyslog.conf, Im trying -> > /var/log/httpd-*.log root:wheel 640 1 * @T00 B > /var/run/httpd.run > > It doesn't seem to work. So Im double checking with the list to > see if what Im trying to do is possible (but Im going about it the wrong > way). It should work. I have a similar entry in my newsyslog.conf: /var/log/apache/*-access_log 664 1 * @01T00 G /var/run/httpd.pid /var/log/apache/*-error_log 664 1 * @01T00 G /var/run/httpd.pid Try running newsyslog manually using the "-v" and "-n" options. Panagiotis