Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mN9VG-0004fb-Ad for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Sep 2021 07:57:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mN9VF-0003Lo-4r for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Sep 2021 07:57:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mN9VE-0003Lg-ST for pgsql-bugs@lists.postgresql.org; Mon, 06 Sep 2021 07:57:16 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mN9VB-0007nQ-D3 for pgsql-bugs@lists.postgresql.org; Mon, 06 Sep 2021 07:57:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=moVJ23Sv5JPUpf+9aSYv2RldZRb87Gb4a+qII3BMuSY=; b=hxiS8WCwerwk0Wt2kjp2C4C+o3 pVyKsG9fIi+I1imPpGX6YtbUFjASS2yfbeUX7YqOLvpGu2nbraVd0HAmFby5wzfNlzrYA0ox/tkVP IdhKtLcV6qzi8CM43VhfBFW4dh+3B3vGrPeSQWrPjrSCPWNgPpqXfxQPXi4WGM4V3A6g=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mN9V8-0001EX-EI; Mon, 06 Sep 2021 09:57:10 +0200 Date: Mon, 6 Sep 2021 09:57:10 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Tom Lane Cc: PostgreSQL mailing lists Subject: Re: Logs vanish after partial log destination change Message-ID: <20210906075710.GA22522@depesz.com> Reply-To: depesz@depesz.com References: <20210905112832.GA8707@depesz.com> <2872657.1630851875@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2872657.1630851875@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Sep 05, 2021 at 10:24:35AM -0400, Tom Lane wrote: > > I know I can chance log_destination, but I can't change > > logging_collector. I assumed it means that logging will go to where they > > did before. > No. You effectively set log_destination to empty, since the csvlog > item is ignored if the logging collector isn't active. That's not > a case that we should disallow, IMO. I do not think there's anything > that we can do here that wouldn't make other use-cases worse. Well, OK. Thanks, depesz