Re: [PERFORM] enable database user login/logout information

2011-06-09 Thread Alexander Shulgin
On Thu, Jun 9, 2011 at 10:50, muthu krishnan
 wrote:
>
> Please guide me how to get only the database user connection (without SQL
> statements) information in logfile.

log_statement = none

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[PERFORM] enable database user login/logout information

2011-06-09 Thread muthu krishnan
Hi,

We are running postgresql database server on itanium box.

Database - Postgresql 8.3.9
OS - SUSE Linux 11 SP 3
Server - Itanium (ia64)

We are trying to enable user login / logout information in postgresql log
file, to do this we enabled the following in postgresql.conf,

log_connections = on

log_disconnections = on

After this we are getting both database user login / logout information as
well as getting SQL queries executed by the application which increase the
log file size.

Please guide me how to get only the database user connection (without SQL
statements) information in logfile.

Thank you for spending your valuable time to read this.

Regards

Muthu