Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C06C1476B36 for ; Mon, 13 Jan 2003 10:38:58 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 17402475FCE for ; Mon, 13 Jan 2003 10:37:54 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id D988A43A57E; Mon, 13 Jan 2003 10:37:52 -0500 (EST) From: "codeWarrior" X-Newsgroups: comp.databases.postgresql.admin Subject: Database logging.... Recycle server logs ??? Date: Mon, 13 Jan 2003 07:44:26 -0800 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 18 Message-ID: Reply-To: "codeWarrior" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/126 X-Sequence-Number: 6968 I recently discovered that another programmers CGI's are occasionally killing my postgreSQL server so I decided to modify the postgres.conf file to do some extended logging and additionally redirect the server output into an error log (using the -l pgdblog.log) switch... postgreSQL was restarted like this: > pg_ctl start -D /usr/bin/pgsql/data -l pgdblog.log I noticed that the server generated logfile gets real big real fast -- (15 queries and it's already at 1.5MB) -- Is there a switch / option to recycle the server logs periodically ??? TIA... GP