agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add log file support to logging.c
Date: Mon, 13 Apr 2026 08:50:41 +0000
Message-ID: <E1wCD0D-000lPr-0r@gemulon.postgresql.org> (raw)

Add log file support to logging.c

This adds the ability for users of logging.c to provide a file handle
for a log file, where log messages are also written in addition to
stderr.

Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAEqnbaUthOQARV1dscGvB_EsqC-YfxiM6rWkVDHc%2BG%2Bf4oSUHw%4...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/41237556f8c554f691968dbdce5fa6f4012e8036

Modified Files
--------------
src/common/logging.c         | 27 +++++++++++++++++++++++++++
src/include/common/logging.h |  2 ++
2 files changed, 29 insertions(+)



Message-ID: <E1wCD0D-000lPr-0r@gemulon.postgresql.org>
Permalink:  ../E1wCD0D-000lPr-0r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wCD0D-000lPr-0r@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add log file support to logging.c
  In-Reply-To: <E1wCD0D-000lPr-0r@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox