Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBEg-000770-OQ for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 06 Mar 2013 10:06:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UDBEg-0005r5-7E for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 06 Mar 2013 10:06:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBEf-0005qN-5g for pgsql-pkg-debian@postgresql.org; Wed, 06 Mar 2013 10:06:09 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDBEd-0001N4-6J for pgsql-pkg-debian@postgresql.org; Wed, 06 Mar 2013 10:06:08 +0000 Received: from msgid.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id CD8976969A; Wed, 6 Mar 2013 11:06:03 +0100 (CET) Date: Wed, 6 Mar 2013 11:05:58 +0100 From: Christoph Berg To: Magnus Hagander Cc: "pgsql-pkg-debian@postgresql.org" Subject: Re: log_destination Message-ID: <20130306100558.GA27001@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Magnus Hagander , "pgsql-pkg-debian@postgresql.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: Magnus Hagander 2013-03-05 > Is there a particular reason why we're not using the postgresql log > collector in the debian packages, instead relying on pg_ctl -l, other > than this being legacy from back before we even had the log collector? The problem is that errors during early startup (syntax errors in postgresql.conf, port unavailable, shmmax, whatever) will not go into the logging collector, but will still appear in the "pg_ctl -l" log file. Changing the default here would mean the admin had to check two log files if the server doesn't even start. pg_ctl -l ~/logfile -o '--logging-collector=on --log-destination=stderr --log-directory=pg_log --ffo=bla' start -> complains about "ffo" in ~/logfile Apart from that, I agree that the logging collector would be a lot nicer than the current logrotate rules with the "copytruncate" insanity. Christoph -- cb@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian