Re: Proposal: Adding json logging

From: Andres Freund <andres(at)anarazel(dot)de>
To: David Arnold <dar(at)xoe(dot)solutions>
Cc: Christophe Pettus <xof(at)thebuild(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal: Adding json logging
Date: 2018-04-15 18:03:49
Message-ID: 20180415180349.np3k6ojpbd5w6ujy@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christophe Pettus 2018-04-15 18:03:52 Re: Proposal: Adding json logging
Previous Message David Arnold 2018-04-15 18:00:05 Re: Proposal: Adding json logging