Re: logfmt and application_context - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: logfmt and application_context
Date
Msg-id B526E775-3681-4951-AF5C-D13B2B304818@yesql.se
Whole thread Raw
In response to logfmt and application_context  (Étienne BERSAC <etienne.bersac@dalibo.com>)
Responses Re: logfmt and application_context
List pgsql-hackers
> On 30 Aug 2023, at 14:36, Étienne BERSAC <etienne.bersac@dalibo.com> wrote:

> ..what do you think of having logfmt output along json and CSV ?

logfmt is widely supported by log ingestion and analysis tools, and have been
for a long enoug time (IMHO) to be called mature, which is good.  Less ideal is
that there is no official formal definition of what logfmt is, some consumers
of it (like Splunk) even support it while not calling it logfmt.  If we add
support for it, can we reasonably expect that what we emit is what consumers of
it assume it will look like?  Given the simplicity of it I think it can be
argued, but I'm far from an expert in this area.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Quan Zongliang
Date:
Subject: Re: Improving the heapgetpage function improves performance in common scenarios
Next
From: Daniel Gustafsson
Date:
Subject: Re: pg_basebackup: Always return valid temporary slot names