From 7f8a1486040f46cac89e243f0667bbf3258bac47 Mon Sep 17 00:00:00 2001 From: Taras <9948629+taraspos@users.noreply.github.com> Date: Tue, 9 Jul 2024 12:08:41 +0100 Subject: [PATCH] [bitnami/pgbouncer] log to stdout only by default (#68905) [bitnami/pgbouncer] do not log to file by default Signed-off-by: Taras Postument --- .../1/debian-12/rootfs/opt/bitnami/scripts/pgbouncer-env.sh | 2 +- bitnami/pgbouncer/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/pgbouncer/1/debian-12/rootfs/opt/bitnami/scripts/pgbouncer-env.sh b/bitnami/pgbouncer/1/debian-12/rootfs/opt/bitnami/scripts/pgbouncer-env.sh index 930dea7c35bd..b6af7bbb3cf6 100644 --- a/bitnami/pgbouncer/1/debian-12/rootfs/opt/bitnami/scripts/pgbouncer-env.sh +++ b/bitnami/pgbouncer/1/debian-12/rootfs/opt/bitnami/scripts/pgbouncer-env.sh @@ -118,7 +118,7 @@ export PGBOUNCER_MOUNTED_CONF_DIR="${PGBOUNCER_VOLUME_DIR}/conf" export PGBOUNCER_INITSCRIPTS_DIR="/docker-entrypoint-initdb.d" # General PgBouncer settings -export PGBOUNCER_LOG_FILE="${PGBOUNCER_LOG_FILE:-${PGBOUNCER_LOG_DIR}/pgbouncer.log}" +export PGBOUNCER_LOG_FILE="${PGBOUNCER_LOG_FILE:-}" export PGBOUNCER_DATABASE="${PGBOUNCER_DATABASE:-postgres}" export PGBOUNCER_PORT="${PGBOUNCER_PORT:-6432}" export PGBOUNCER_LISTEN_ADDRESS="${PGBOUNCER_LISTEN_ADDRESS:-0.0.0.0}" diff --git a/bitnami/pgbouncer/README.md b/bitnami/pgbouncer/README.md index 76dc66e8094f..bf1b6a828541 100644 --- a/bitnami/pgbouncer/README.md +++ b/bitnami/pgbouncer/README.md @@ -68,7 +68,7 @@ docker build -t bitnami/APP:latest . | Name | Description | Default Value | |---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------| -| `PGBOUNCER_LOG_FILE` | PgBouncer log file. | `${PGBOUNCER_LOG_DIR}/pgbouncer.log` | +| `PGBOUNCER_LOG_FILE` | If set, log PgBouncer output to log file in addition to stdout. | `nil` | | `PGBOUNCER_DATABASE` | PgBouncer advertised database. | `postgres` | | `PGBOUNCER_PORT` | PgBouncer port | `6432` | | `PGBOUNCER_LISTEN_ADDRESS` | PgBouncer listen address | `0.0.0.0` |