Re: Proposal: Adding json logging

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Proposal: Adding json logging
Дата
Msg-id 3af99fd2-8c51-4b94-9ce2-3ef5aedf47f9@manitou-mail.org
обсуждение исходный текст
Ответ на Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
Ответы Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
Список pgsql-hackers
    David Arnold wrote:

> Interesting, does that implicitly mean the whole log event would get
> transmitted as a "line" (with CRLF) in CSV.

To me it's implied by the doc at:
https://www.postgresql.org/docs/current/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-CSVLOG

> In the affirmative scenario, this then would work for a true streaming
> aggregator (if CSV was supported).

Assuming a real CSV parser tailing the log, there shouldn't be any trouble
with that.


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Proposal: Adding json logging
Следующее
От: John Naylor
Дата:
Сообщение: remove quoting hacks and simplify bootscanner.l