Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmNYG-0000LU-3l for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Mar 2017 16:38:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cmNYF-0006jg-Mp for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Mar 2017 16:37:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cmNWk-0001xt-JQ for pgsql-hackers@postgresql.org; Fri, 10 Mar 2017 16:36:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cmNWi-0000Av-BU for pgsql-hackers@postgresql.org; Fri, 10 Mar 2017 16:36:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2AGaKFB014732; Fri, 10 Mar 2017 11:36:20 -0500 From: Tom Lane To: Stephen Frost cc: Tels , Robert Haas , Joe Conway , "pgsql-hackers@postgresql.org" Subject: Re: Upgrading postmaster's log messages about bind/listen errors In-reply-to: <20170310162722.GG9812@tamriel.snowman.net> References: <9564.1489091245@sss.pgh.pa.us> <19479.1489121003@sss.pgh.pa.us> <8371d0860a6019e5630bcdd2a96610ab.squirrel@sm.webmail.pair.com> <20170310135656.GD9812@tamriel.snowman.net> <12776.1489160501@sss.pgh.pa.us> <20170310162722.GG9812@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Fri, 10 Mar 2017 11:27:22 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14730.1489163780.1@sss.pgh.pa.us> Date: Fri, 10 Mar 2017 11:36:20 -0500 Message-ID: <14731.1489163780@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Stephen Frost writes: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> ... So I think the logging setup I had in >> my patch is pretty much the only sane way to do it, and we just have >> to decide whether it's worth exposing at default log level or not. > I definitely think we should include it at the default log level. We > certainly wouldn't be the first daemon process to do so (bind9 comes to > mind, but I notice ntpd, nrpe, and strongswan do also, and probably some > others). I'm leaning in that direction as well now. I think we could address Robert's concern about startup chattiness by downgrading the other mentioned messages to DEBUG1. I will check, but I'm pretty sure that there is already adequate logging for subprocess startup failure --- and if there is not, that would be a bug in itself. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers