Re: log_line_prefix and JSON log format

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: michael(at)schoenitzer(dot)de, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: log_line_prefix and JSON log format
Date: 2026-09-25 15:10:50
Message-ID: 42af2f4ed8afe739f2e8f8add80100b2ba2d7808.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, 2026-09-25 at 09:32 +0000, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/18/index.html
>
> I noticed, that it not documented anywhere what log_line_prefix will do, if
> log_destination = 'jsonlog' (Or CSV). From my tests it seems it is ignored
> and does nothing. But we weren't sure and would be helpful to have this
> documented.

True; here is a patch.

Yours,
Laurenz Albe

Attachment Content-Type Size
v1-0001-Doc-no-log_line_prefix-in-csvlog-or-jsonlog.patch text/x-patch 1.4 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2026-09-25 15:36:23 Re: log_line_prefix and JSON log format
Previous Message Tom Lane 2026-09-25 14:47:38 Re: [Minor] Duplicated word in "Creating a Database" tutorial