From owner-freebsd-questions Fri Nov 2 9:48:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id A701437B442 for ; Fri, 2 Nov 2001 09:48:12 -0800 (PST) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id MAA19239 for ; Fri, 2 Nov 2001 12:47:18 -0500 Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.11.6/8.11.4) id fA2Hnvf01792 for freebsd-questions@FreeBSD.org; Fri, 2 Nov 2001 12:49:57 -0500 (EST) (envelope-from leblanc) Date: Fri, 2 Nov 2001 12:49:57 -0500 From: Louis LeBlanc To: FreeBSD Questions Subject: newsyslog blanket roll question Message-ID: <20011102124956.A1702@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.3.23i X-bright-idea: Lets abolish HTML mail! 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 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey all. Quick newsyslog.conf question: I am running Apache, which uses several system logs which I would like to rotate on a weekly basis. After reading newsyslog(8) I came up with the following group of newsyslog.conf entries: /var/log/ssl_engine_log 644 5 * $W6D0 Z /var/run/http.pid /var/log/ssl_request_log 644 5 * $W6D0 Z /var/run/http.pid /var/log/httpd-access.log 644 5 * $W6D0 Z /var/run/http.pid /var/log/httpd-error.log 644 5 * $W6D0 Z /var/run/http.pid Which would roll the logs every Saturday night at Midnight and SIGHUP Apache. 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. TIA & HAND Lou --=20 Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC A man was reading The Canterbury Tales one Saturday morning, when his wife asked "What have you got there?" Replied he, "Just my cup and Chaucer= ." --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE74tzEeAPWYrNkRWIRAv2AAJ42HGYOlVQnh61kzLA6Nwq+clkOiACfVaTl /JmdK64qh9+CurKNaA2l4d0= =HFik -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message