Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 52EE62E396B for ; Thu, 24 Jan 2008 19:35:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 25189-01-5 for ; Thu, 24 Jan 2008 19:35:17 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id AE5FB2E34B1 for ; Thu, 24 Jan 2008 18:39:02 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m0OMcxNo016615; Thu, 24 Jan 2008 17:38:59 -0500 (EST) To: "Chris Hoover" cc: "pgsql-admin@postgresql.org Admin" Subject: Re: 8.3 Logging Question In-reply-to: <1d219a6f0801241031p4faa7b3cr2260f97e76bc71e0@mail.gmail.com> References: <1d219a6f0801241031p4faa7b3cr2260f97e76bc71e0@mail.gmail.com> Comments: In-reply-to "Chris Hoover" message dated "Thu, 24 Jan 2008 13:31:55 -0500" Date: Thu, 24 Jan 2008 17:38:59 -0500 Message-ID: <16614.1201214339@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/236 X-Sequence-Number: 28010 "Chris Hoover" writes: > I'm running PG 8.3rc2 to start testing it out, and really like how it is > preforming for me so far. However, I have one question on the logging. I > am trying to use syslog and csvlog to log all sql. This seems to work great > except that for every log rotation postgres does, I get a .csv log file that > grows and a 0 byte .log file. Since I'm not logging to stderr, why is the > .log file being created, and how do I turn that off? The .log file is to catch any non-csv-format data that comes down the pipe. You can't turn it off. regards, tom lane