Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TB6Zk-000480-CD for pgsql-bugs@postgresql.org; Mon, 10 Sep 2012 16:11:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TB6ZV-00041T-5I for pgsql-bugs@postgresql.org; Mon, 10 Sep 2012 16:11:02 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q8AG9Xku024643; Mon, 10 Sep 2012 12:09:33 -0400 (EDT) From: Tom Lane To: ajeru@topolyte.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7528: Spurious empty log file created In-reply-to: References: Comments: In-reply-to ajeru@topolyte.com message dated "Mon, 10 Sep 2012 15:05:24 -0000" Date: Mon, 10 Sep 2012 12:09:33 -0400 Message-ID: <24642.1347293373@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201209/83 X-Sequence-Number: 34078 ajeru@topolyte.com writes: > After removing all files from pg_log and relaunching the postgres server, > pg_log contains two files instead of one: pg-xxx.log and pg-xxx.csv. > According to the documentation, only pg-xxx.csv should exist. Not sure where you read that, but the plain log file is always created. It's there to support code that might randomly write on stderr, for instance third-party code such as Perl. regards, tom lane