Re: less log level for success dynamic background workers for 9.5

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: less log level for success dynamic background workers for 9.5
Дата
Msg-id CA+TgmoYHKqxUwn=wz8buxu=_Y4UihDeoBDNaMKz7W6KsuFJ2Tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: less log level for success dynamic background workers for 9.5  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: less log level for success dynamic background workers for 9.5
Список pgsql-hackers
On Tue, Jun 23, 2015 at 10:53 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> 2015-06-23 15:20 GMT+02:00 Robert Haas <robertmhaas@gmail.com>:
>> I was thinking of a background worker flag, not a GUC.
>> BGWORKER_QUIET, or something like that.  But I guess we ought to just
>> change it.
>
> I have not any problem with bg worker flag. The only question is, what
> should be by default.

Well, if the flag is BGWORKER_QUIET, then the default behavior remains
unchanged, but when that flag is used, the log level is reduced to
DEBUG1.  That has the advantage of not breaking backward
compatibility.  But I'm not sure whether anyone cares if we just break
it, and it's certainly simpler without the flag.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: less log level for success dynamic background workers for 9.5
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Hash index creation warning