Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2RrK-000Idr-0w for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 10:41:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2RrJ-000Qsa-0U for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 10:41:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2RrI-000QsR-2m for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 10:41:08 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w2RrG-00000000aV4-1miM for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 10:41:08 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-38a27d39067so35875711fa.1 for ; Tue, 17 Mar 2026 03:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773744065; cv=none; d=google.com; s=arc-20240605; b=I5yWOhp1cKCgcwgDJTE9ZFYuTpLxdI0yoa45K7CBpCvMuXWnwZf3V3VQ/pKUw2LjxT CILXJ20Mw40SxOP6XL9Dr1wZI2zvTl9FSaDetS7TG38GW7se5YRJfMiOjrmDeIPiCWu+ pA5UXfLRw3SVKpmGuoFHWypOXX79e7FywrOWXEaocyqbu8WJsC9i1TSRSDE0dKXbPbEc xQFXhG40LrdfnXqGElymo/Z+5RDxSUMTjGoBJpjYcthpdsbENJ/fKBNKA1k9McjFDDnK y34IendhncvOmGK6HJGHL0MiSqO3Kkj3lH+dLw8L1H6r5o/+2k9tcM5jeQfOJjLOuO6G Yfew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LU+4R1WjUPxtiqAYt2ZY+ZTVsMzAVwreBxa22yX0wew=; fh=hiIW2gz/FrGMzxqhjtTcZ2ddqCLJJapMQBAt18IvClk=; b=OqPoY7OgKfQ7h/wEZmt1tKKYmWHO5zhrzXT1PQeK73DskUJEs+7XwBecbIAI6C6Jws I6ri0ATjUgAY2HJf2UC7ZwbTqimgqBMw//eZNjJzMzkpobDASjy/MaWliv+Avw1uOQFI u1O9VJnK+nVtLqj5dwdKtRHumg/49CB66agegBkEYEMxyBGWm9jM43kWWxSAYTfCpcjN xs1D8/sLBfXKyxfh/wv5pzaEWwSNiaYClVWwbtkbyQn9BvfpY9uczWTVIJgJUt1hG4yn 0gSYyP692L8mhNhG6tl6TDL3KOaCT/t5c3y/SoD11Lc2vOaXuEMTIQ8+68dk/tC5TXT7 cg0Q==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773744065; x=1774348865; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LU+4R1WjUPxtiqAYt2ZY+ZTVsMzAVwreBxa22yX0wew=; b=k6UZkrVQE5S1JVDKaVcPew1s5XNKIe6qBUD9G3aAb3ATRzvrBzAIjcKbLEC+uwxyMu 6Sh9UuEa3h7sp9d3nLdIX2EGOl6M/giTRdhUnGVkSZpPEODhj/j0cmBfYzLHrgowdpzz tujc6rOQ5mAbnYPPmp07M6XMy0sPs4jxGSpJfojvi7lgRcCadzu9xS0UbEDA4vH4yedR c1zdZCQqUzVNqpZlK1LYYXcgDvYRIC91M7vedyL5sIHGmM9+24EDlj9SInAp855EN38+ yRGUN3aEXaYbW5thTfpQv9j9QJC9oHQGDFGc/qxg3gOgm2B65ga9B77J9+FtKl9xvS3A gRsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773744065; x=1774348865; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LU+4R1WjUPxtiqAYt2ZY+ZTVsMzAVwreBxa22yX0wew=; b=s40U6GDRU18qRlawb5wui9svOx9Vx12aQxwbYYoAc/sGU/hZxPqeGQQtfdHe+yVij9 TlNTvXTJoC685vwphcQq9tk9P+9hr5tKo2vW9gjBudNSLOOfmnjDobKaMWWmjOmZ15w3 vlchufWGTuZQ53/fqm7L2sHsk+/SYgrml2GmD7kFM8mVAZy/BhFt67la0+G3+uBoRWu5 SunlE+pzCdIeG+vd3yFssdS3091UpD8iNG9LC+Y1Ba7kLzDjEOy8XabV7GPObRn1Xsd2 Bnt7+C1Pyl7yP7LS2f0xB2HVrgP5nSFk/1NKesIVcl8XbJXCQpL/v0J9g9ccJ/cdU78z KpmQ== X-Forwarded-Encrypted: i=1; AJvYcCV15MY/830khbsbU6zUN/IqLT1ntCtR3O3H/LGZwpNDfBh0em8ke2Kh+94DdbUh54HpptU+AA0045cLQZ/Q@lists.postgresql.org X-Gm-Message-State: AOJu0YyMy42TncJ7OPWzQY6PawqrzNbtjYUHUMebkZd3FirIx0Q4ocmr we5G8ZnHGKDhcsiDQnNppynAi2g17g8ZLooo08IX8bXwBbyVqNomiHz1WgWT1R2KOQ/D/3kgv9/ s4GDVvxHxQYEkhyzarRimIoya1ELDqW4= X-Gm-Gg: ATEYQzyH2035esaE8DXsLBj8+kk45DvchfHSCa8/ISoXx93VbCmV5HJgoibRtW2MRsu URJcA7sNH2ZjCWwpYyXYABrjYHmWRnDlaVFkFXZTRe89oGxyG1cYNDKdCtOKwCsdfUAuZ5qtuCe t9IA2PhiGssZLltaF915xVliqjtWEo4UzvU7Koi3ALlGb/HTqXsps/G+o9+oZhARWiOrbscxJqz O95kmpJ7hapaFg6Rj+oKd4sNwfB4NMCA0eSIulcpSvw/8xgk7isgZWTEFyclqJhI2oMp2T3BL8Y mrq6GPS86NeKF0wDjnIwCHN6+TULM0v5mM7osFUhKUnEBX1Or3YrKwBaSm51mN4eFClT684EEw= = X-Received: by 2002:a2e:a902:0:b0:38a:5d10:2a30 with SMTP id 38308e7fff4ca-38a896a2596mr50189341fa.3.1773744065124; Tue, 17 Mar 2026 03:41:05 -0700 (PDT) MIME-Version: 1.0 References: <48261e54-c4f1-4bde-a4a9-4f3698a6b380@app.fastmail.com> In-Reply-To: From: Amit Kapila Date: Tue, 17 Mar 2026 16:10:53 +0530 X-Gm-Features: AaiRm53obWBbVBp60RfF4W4XzgoBXFUlQy6H40ZFpVqTRsKYb_KalmLaEKIX_x4 Message-ID: Subject: Re: [Proposal] Adding Log File Capability to pg_createsubscriber To: shveta malik Cc: Gyan Sreejith , vignesh C , Euler Taveira , "kuroda.hayato@fujitsu.com" , "pgsql-hackers@lists.postgresql.org" , Peter Smith Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 17, 2026 at 11:36=E2=80=AFAM shveta malik wrote: > > 1) > I observed that when we give both --verbose and --logdir options, it > skips verbose and only dumps logs to logdir. Is this intentional? > > I don't see any other postgres command with both the options provided > and thus cannot compare the behaviour. But IMO, if the user has > explicitly given both options, we should dump the log on both (stdout > and logfile). > The entire log should be dumped in the specified log_file. I think this is similar to one setting server's log_level to debug1 and then start server with -l option in which case the entire log is dumped to server log file. --=20 With Regards, Amit Kapila.