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` |