Skip to content

logs: pgbouncer access from unix socket #883

Closed
@jarojasm95

Description

@jarojasm95

Hello,

I am running pgbouncer v1.19.1

This is my config file:

[databases]
# replaced with dummy values
xxxxxx=host=github.com port=5432 dbname=zzzzzz

[pgbouncer]
listen_port=6543
listen_addr=0.0.0.0
unix_socket_dir=/tmp/
unix_socket_mode=0777
auth_file=/opt/bitnami/pgbouncer/conf/userlist.txt
auth_type=md5
pidfile=/opt/bitnami/pgbouncer/tmp/pgbouncer.pid
logfile=/opt/bitnami/pgbouncer/logs/pgbouncer.log
admin_users=app_20210812
client_tls_sslmode=disable
server_tls_sslmode=disable
pool_mode=transaction
default_pool_size=21
min_pool_size=4
log_connections=0
log_disconnections=0
log_pooler_errors=0
log_stats=0
stats_period=60

I am running pgbouncer in kubernetes and using psql as a readiness probe, however this is causing a lot log noise such as:

2023-07-08 17:13:20.944 UTC [1] LOG C-0x560a9d1c05b0: (nodb)/pgbouncer@unix(992):6543 pgbouncer access from unix socket

even though I have configured log_connections=0

Is this expected? Is there an option to disable such logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions