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"