On Tue, Apr 7, 2026 at 8:48 AM Amit Kapila <[email protected]> wrote: > > On Tue, Apr 7, 2026 at 8:34 AM Fujii Masao <[email protected]> wrote: > > > > On Tue, Apr 7, 2026 at 1:16 AM Robert Haas <[email protected]> wrote: > > > > But probably are you suggesting making this behavior the default? If > > > > yes, > > > > one straightforward approach to implement that would be to log these > > > > messages > > > > at LOG when AmWalSenderProcess() or AmLogicalSlotSyncWorkerProcess() is > > > > true, > > > > and at DEBUG1 otherwise. > > > > > > Yeah. > > > > OK, I've prepared a patch to implement this. Patch attached. > > It introduces a LogicalDecodingLogLevel() macro to choose the log level > > based on context, but the name may not be ideal, so suggestions are welcome. > > > > How about adding repack_worker to that check as well? See 28d534e2ae. >
The other possibility is to use AmRegularBackendProcess() to decide the log_level in this case. -- With Regards, Amit Kapila.
