postgres.git / summary / log / commit / refs

commit    f197fdee8265050bfefb2f5d00829a814ff05ae4
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Fri Sep 25 22:36:17 2026 +0000

    Doc: clarify there's no log_line_prefix in csvlog or jsonlog output.
    
    The documentation didn't make clear that "log_line_prefix" is
    not output when "log_destination" is "csvlog" or "jsonlog".
    
    Reported-by: Michael Schönitzer <michael@schoenitzer.de>
    Author: Laurenz Albe <laurenz.albe@cybertec.at>
    Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us>
    Discussion: https://postgr.es/m/179032875673.1026201.6950455317699774504@wrigleys.postgresql.org
    Backpatch-through: 14


doc/src/sgml/config.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 0165eb9ec02..f36fbb60101 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -8224,7 +8224,8 @@ local0.* /var/log/postgresql <listitem> <para> This is a <function>printf</function>-style string that is output at the - beginning of each log line. + beginning of each log entry that is sent to <literal>stderr</literal>, + <literal>syslog</literal>, or <literal>eventlog</literal>. <literal>%</literal> characters begin <quote>escape sequences</quote> that are replaced with status information as outlined below. Unrecognized escapes are ignored. Other