Re: Proposal: Adding json logging

Поиск
Список
Период
Сортировка
От John W Higgins
Тема Re: Proposal: Adding json logging
Дата
Msg-id CAPhAwGxo9g3nuu7mONeZAWMt+oNHrY+OnLE46Mka0b-3JnBv_w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
Список pgsql-hackers


On Sun, Apr 15, 2018 at 10:39 AM, David Arnold <dar@xoe.solutions> wrote:
>More specifically, JSON logging does seem to be a solution in search of a problem.  PostgreSQL's CSV logs are very easy to machine-parse, and if there are corrupt lines being emitted there, the first step should be to fix those, rather than introduce a new "this time, for sure" logging method.

>It's a matter of a few lines of code to convert CSV logs to a JSON format, if you need JSON format for something else.

In the light of the specific use case / problem for this thread to be born, what exactly would you suggest?

This would appear to solve multiline issues within Fluent.....

https://docs.fluentd.org/v0.12/articles/parser_multiline

John

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

Предыдущее
От: Christophe Pettus
Дата:
Сообщение: Re: Proposal: Adding json logging
Следующее
От: David Arnold
Дата:
Сообщение: Re: Proposal: Adding json logging