Re: log_min_messages per backend type

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: Euler Taveira <euler(at)eulerto(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: log_min_messages per backend type
Date: 2024-12-19 04:13:25
Message-ID: CALdSSPhV5tH7hMPqikzR2dMSp+Wisepih2kiRrKG7Z88Ge+3oQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 18 Dec 2024 at 00:15, Euler Taveira <euler(at)eulerto(dot)com> wrote:
>
> Hi,
>
> Sometimes you need to inspect some debug messages from autovacuum worker but
> you cannot apply the same setting for backends (that could rapidly fill the log
> file). This proposal aims to change log_min_messages to have different log
> levels depending on which backend type the message comes from.

Hi! Looks like a sane proposal. Correct me if I'm wrong, but with your
patch it is not possible to configure something like "everybody ERROR,
but autovac DEBUG5"? I mean,
set log_min_messages to 'ERROR:default, DEBUG5:autovacuum' (not
specifying all possible cases?)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-12-19 04:21:54 Re: per backend I/O statistics
Previous Message David Rowley 2024-12-19 03:30:37 Re: Shave a few cycles off our ilog10 implementation