From ade97d52e69926b33db15b3df6ee49067fc842c6 Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 22 Feb 2026 12:52:16 +0100 Subject: [PATCH] feat: redirect logs to stderr --- files/postgres/postgresql.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/files/postgres/postgresql.conf b/files/postgres/postgresql.conf index 3bc89f1..c5033ab 100644 --- a/files/postgres/postgresql.conf +++ b/files/postgres/postgresql.conf @@ -17,3 +17,13 @@ hba_file = "/etc/postgres/pg_hba.conf" # Empty listen addresses to disable listening via TCP/IP # because we want only uni socket connections listen_addresses = "" + + +#------------------------------------------------------------------------------- +# REPORTING AND LOGGING +# Please refer to official doc before editing this section: +# https://www.postgresql.org/docs/current/runtime-config-logging.html +#------------------------------------------------------------------------------- + +# Redirect logs to stderr to be managed by journald +log_destination = "stderr"