On Tue, Mar 17, 2026 at 11:36 AM shveta malik <[email protected]> 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.
