Re: Turning on logging

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: Owen Hartnett <owen(at)clipboardinc(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Turning on logging
Date: 2007-06-03 12:58:48
Message-ID: 20070603085848.a7505018.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Owen Hartnett <owen(at)clipboardinc(dot)com> wrote:
>
>
> I know this is in the docs somewhere, and it's probably staring me in
> the face, but I haven't been able to find it:
>
> I'm running 8.2.4 through npgsql - how do I log:
>
> 1) connections to the database
>
> 2) updates, deletes, adds
>
>
> Is this set in the ./configuration? Or in the startup command line?

It can be specified on the startup command line, but it's much easier
to put it in postgresql.conf:
http://www.postgresql.org/docs/8.2/static/config-setting.html

There are parameters for the specific things you want to control:
http://www.postgresql.org/docs/8.2/static/runtime-config-logging.html

HTH

--
Bill Moran
http://www.potentialtech.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2007-06-03 13:18:58 Re: Strange delimiters problem
Previous Message Andrej Kastrin 2007-06-03 11:44:41 Strange delimiters problem