Date: Fri, 2 Nov 2001 12:51:03 -0800 From: "Crist J. Clark" <cristjc@earthlink.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: newsyslog blanket roll question Message-ID: <20011102125103.N4360@blossom.cjclark.org> In-Reply-To: <20011102124956.A1702@keyslapper.org>; from leblanc%2Bfreebsd@keyslapper.org on Fri, Nov 02, 2001 at 12:49:57PM -0500 References: <20011102124956.A1702@keyslapper.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011102125103.N4360>
