| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add log file support to logging.c |
| Date: | 2026-04-13 08:50:41 |
| Message-ID: | E1wCD0D-000lPr-0r@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)kapila16(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAEqnbaUthOQARV1dscGvB_EsqC-YfxiM6rWkVDHc%2BG%2Bf4oSUHw%40mail.gmail.com
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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-04-13 09:04:39 | pgsql: pg_createsubscriber: Remove separate logfile_open() function |
| Previous Message | Daniel Gustafsson | 2026-04-13 08:24:21 | Re: pgsql: ssl: Serverside SNI support for libpq |