Re: Allow cluster_name in log_line_prefix

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Allow cluster_name in log_line_prefix
Дата
Msg-id CAMsr+YGkdtaKow_LedAcdDM=oB09KM6qE9A3VO-LVtym9rbkGA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Allow cluster_name in log_line_prefix  (Vik Fearing <vik.fearing@2ndquadrant.com>)
Список pgsql-hackers
On Sun, 3 Nov 2019 at 07:22, Vik Fearing <vik.fearing@2ndquadrant.com> wrote:
On 31/10/2019 08:47, Fujii Masao wrote:
> On Mon, Oct 28, 2019 at 1:33 PM Craig Ringer <craig@2ndquadrant.com> wrote:
>> Hi folks
>>
>> I was recently surprised to notice that log_line_prefix doesn't support a cluster_name placeholder. I suggest adding one. If I don't hear objections I'll send a patch.
> If we do this, cluster_name should be included in csvlog?


Yes, absolutely.

Ok, I can put that together soon then.

I don't think it's too likely that people will shout about it being added to csvlog. People using csvlog tend to be ingesting and postprocessing their logs anyway. Plus gzip is really, really good at dealing with redundancy.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 2ndQuadrant - PostgreSQL Solutions for the Enterprise

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] [PATCH] pageinspect function to decode infomasks
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [bug fix] Produce a crash dump before main() on Windows