Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?
Дата
Msg-id CAECtzeW+hUHM9u=E+H5d3b_GvXy5Ei0=d9TwjVKBMS9OTa=bxw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Le mer. 8 janv. 2025 à 21:35, Tom Lane <tgl@sss.pgh.pa.us> a écrit :
Guillaume Lelarge <guillaume@lelarge.info> writes:
> I tend to agree it might be better than Benoit's patch on the index
> messages, though I'm afraid that DEBUG1 level won't work for many users.
> DEBUGx are for developers, not users. A better log level for me would be
> LOG.

Please, no.  That would result in spamming the postmaster log
for perfectly ordinary actions, with no usable way to prevent it.


Not sure why I was thinking it would only go to the client. You're right, it will also go to the logs, and it will be stored by default, which would be bad. Sorry about this...
 
I think DEBUG is perfectly appropriate for this sort of message.


Still think DEBUG level is pretty bad for a user experience. Anyway, I much prefer a DEBUG message than no message at all :)
 

--
Guillaume.

В списке pgsql-hackers по дате отправления: