Re: Proposal: Adding json logging - Mailing list pgsql-hackers

From Daniel Verite
Subject Re: Proposal: Adding json logging
Date
Msg-id 3af99fd2-8c51-4b94-9ce2-3ef5aedf47f9@manitou-mail.org
Whole thread Raw
In response to Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
Responses Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Proposal: Adding json logging
Next
From: John Naylor
Date:
Subject: remove quoting hacks and simplify bootscanner.l