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

From Andres Freund
Subject Re: Proposal: Adding json logging
Date
Msg-id 20180415180349.np3k6ojpbd5w6ujy@alap3.anarazel.de
Whole thread Raw
In response to Re: Proposal: Adding json logging  (David Arnold <dar@xoe.solutions>)
List pgsql-hackers
On 2018-04-15 18:00:05 +0000, David Arnold wrote:
> CSV shows line breaks, STDOUT shows ERROR/FATAL and detail on different
> lines, not an easy problem to stream-parse reliably (without some kind of a
> buffer, etc)...

Why? The newlines aren't meaningfully different from other characters
you need to parse? The data isn't actually stored in a newline separated
fashion, that's just one byte with that meaning.

- Andres


pgsql-hackers by date:

Previous
From: David Arnold
Date:
Subject: Re: Proposal: Adding json logging
Next
From: Christophe Pettus
Date:
Subject: Re: Proposal: Adding json logging