From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 10:03:16 2003 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 9657916A4CF for ; Sun, 28 Dec 2003 10:03:16 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B561943D2F for ; Sun, 28 Dec 2003 10:03:15 -0800 (PST) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[68.39.114.118]) by comcast.net (rwcrmhc11) with ESMTP id <2003122818031501300klgcle>; Sun, 28 Dec 2003 18:03:15 +0000 Received: from gladiator.trini0.org (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id AD5522C5; Sun, 28 Dec 2003 13:03:14 -0500 (EST) From: Gerard Samuel To: Lowell Gilbert Date: Sun, 28 Dec 2003 13:03:14 -0500 User-Agent: KMail/1.5.4 References: <200312280948.15063.fbsd-questions@trini0.org> <44n09cj142.fsf@be-well.ilk.org> In-Reply-To: <44n09cj142.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312281303.14444.fbsd-questions@trini0.org> cc: questions@freebsd.org Subject: Re: Log Rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 18:03:16 -0000 On Sunday 28 December 2003 12:36 pm, Lowell Gilbert wrote: > Gerard Samuel writes: > > In particular, Im looking to see if there is a "FreeBSD" way in > > rotating PostgreSQL logs. > > Any advise would be appreciated. > > newsyslog(8) is part of the base system... Yes, Im familiar with newsyslog, but Im not sure how it will play with rotating PostgreSQL's log file, as PostgreSQL seems to need some extra TLC when rotating the log while PostgreSQL is running. http://www.postgresql.org/docs/7.3/interactive/logfile-maintenance.html Ill have to let that sink in the brain, before I try messing with it.