Skip site navigation (1) Skip section navigation (2)

problem with connection logging

From: "Donald Fraser" <postgres(at)kiwi-fraser(dot)net>
To: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: problem with connection logging
Date: 2005-03-25 14:30:15
Message-ID: 000c01c53147$2c324c20$0264a8c0@demolish1 (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
I'm running PostgreSQL 7.4.7 and have the following problem.
I have "log connections" enabled in the configuration file so that I can keep track of who's been logging on.
The problem is that I also have pg_autovacuum running which logs on an off constantly and fills up the log with its own database connections. I'm not interested in pg_autovacuum's connections - they just clog up my log files.

Is there a way of filtering out say Unix socket or localhost connections whilst logging all other connections?

My guess is no, does anyone else suffer from this problem and if so have you found a solution for dealing with it?

Donald Fraser

pgsql-admin by date

Next:From: Lee WuDate: 2005-03-25 17:00:01
Subject: explain analyze of PG server level
Previous:From: John JensenDate: 2005-03-25 13:30:00
Subject: Re: Backup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group