Title: RE: [GENERAL] logging connections
please clarify the following:
log_destination (string)
PostgreSQL supports several methods for logging server messages, including stderr and syslog. On Windows, eventlog is also supported. Set this option to a list of desired log destinations
Title: RE: [GENERAL] logging connections
i did the above, however still no looging is being done.
for eg if i have a c++ program where i establish a connection to postgres and does some activity.
the postgres log should log the above connection to postgres when i run the program
You need to edit your postgresql.conf file and in the "Error reporting and logging" section set "log_connections=true", "log_disconnections=true", and "log_hostname=true"
On 1/20/06, surabhi.ahuja <[EMAIL PROTECTED]> wrote:
i want to know, how i can log connections to postgres.
the sampl
Title: logging connections
i want to know, how i can log connections to postgres.
the sample log file is:
LOG: shutting down
LOG: database system is shut down
LOG: database system was shut down at 2006-01-17 18:18:24 CST
LOG: checkpoint record is at 0/B035D0
LOG: redo record is at 0/B03