Re: [Proposal] Adding Log File Capability to pg_createsubscriber - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [Proposal] Adding Log File Capability to pg_createsubscriber
Date
Msg-id CAA4eK1Kxs9-fyewpvasgJ=Wrw_h+j6GBHNcNfoJ47mv7+L9N_A@mail.gmail.com
Whole thread
In response to Re: [Proposal] Adding Log File Capability to pg_createsubscriber  (shveta malik <shveta.malik@gmail.com>)
List pgsql-hackers
On Tue, Mar 17, 2026 at 11:36 AM shveta malik <shveta.malik@gmail.com> 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.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Alberto Piai
Date:
Subject: Adding a stored generated column without long-lived locks
Next
From: Ilia Evdokimov
Date:
Subject: Re: Reduce planning time for large NOT IN lists containing NULL