From: | Brian Fehrle <brianf(at)consistentstate(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Connecting PHP-based Application to Postgres-9.0.3 |
Date: | 2011-04-07 18:59:57 |
Message-ID: | 4D9E09AD.7090801@consistentstate.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Um, strike that link, just looked at the name and realized who posted
that message.
doh.
On 04/07/2011 12:17 PM, Rich Shepard wrote:
> On Thu, 7 Apr 2011, Brian Fehrle wrote:
>
>> In the postgresql.conf file, look for these parameters.
>>
>> log_destination (can be set to stderr, csvlog, syslog, and eventlog,
>> you probably want syslog).
>> log_connections (default is off, turn this on to see all connection
>> attempts to the database)
>> log_disconnections (same as log_connections)
>
> Brian,
>
> Hmm-m-m.
>
> log_destination = 'syslog' # Valid values are
> combinations of
> # stderr, csvlog, syslog, and
> eventlog,
> # depending on platform. csvlog
> # requires logging_collector
> to be on.
> log_connections = on
> log_disconnections = on
>
> Yet, there's noting in /var/log/messages after restarting postgres.
>
> Apr 7 11:13:14 salmo postgres[6652]: [1-1] LOG: database system is
> ready
> to accept connections
> Apr 7 11:13:14 salmo postgres[6656]: [1-1] LOG: autovacuum launcher
> started
>
> Rich
>
From | Date | Subject | |
---|---|---|---|
Next Message | Brian Fehrle | 2011-04-07 19:06:29 | Re: Connecting PHP-based Application to Postgres-9.0.3 |
Previous Message | Brian Fehrle | 2011-04-07 18:58:26 | Re: Connecting PHP-based Application to Postgres-9.0.3 |