From: | David Arnold <dar(at)xoe(dot)solutions> |
---|---|
To: | Daniel Verite <daniel(at)manitou-mail(dot)org> |
Cc: | Christophe Pettus <xof(at)thebuild(dot)com>, John W Higgins <wishdev(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Proposal: Adding json logging |
Date: | 2018-04-17 12:31:24 |
Message-ID: | CAH6vsWLmXsevbmT7XapksFPJMny+CEQi4m+eJ4eaQz7-P2pgqQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>To me it's implied by the doc at:
https://www.postgresql.org/docs/current/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-CSVLOG
Additionally this still depends on the way some middleware might choose to
stream data. Can we really be sure the risk is minimal that any middleware
would have chosen to treat new line as an entity delimitator?
Can we even be sure that NO existing middleware would treat newline as a
entity delimitator?
I'm not that confident about that.
Anticipating the possible argument, that the "others are wrong": This
arguement, though valid, seems sometimes is tought it's limits in very
mondane practicability and efficiency needs.
El mar., 17 abr. 2018, 6:55 a.m., Daniel Verite <daniel(at)manitou-mail(dot)org>
escribió:
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | David Arnold | 2018-04-17 14:06:37 | Re: Proposal: Adding json logging |
Previous Message | Tomas Vondra | 2018-04-17 12:11:21 | Re: Standby corruption after master is restarted |