Search Postgresql Archives

Re: Turning on logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007/6/3, Owen Hartnett <owen@xxxxxxxxxxxxxxxx>:

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



Hello,

look postgresql.conf in your data directory and set

log_connection = on
log_statement = 'mod'

Regards
Pavel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux