[GENERAL] How to get timestamped pgsql logging?

From: Ed Loehr <ELOEHR(at)austin(dot)rr(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] How to get timestamped pgsql logging?
Date: 1999-12-17 07:58:33
Message-ID: 3859ED29.1267B897@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

After following some hints from Bruce Momjian and the pgsql documentation,
I'm still missing something on how to get timestamped backend logging from
pgsql...any help is appreciated...

After running ./configure, I modifed ...src/include/config.h to uncomment
the two lines...

#define ELOG_TIMESTAMPS
#define USE_SYSLOG

Then I ran make, etc, created the file $PGDATA/pg_options...

% cat $PGDATA/pg_options
verbose=2
query
syslog=2

And restarted the server...and still no timestamps.

I verified most everything syslog-wise (configured in /etc/syslog.conf) is
being sent to /var/log/messages...

Anyone notice what am I missing?

Cheers,
Ed Loehr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jesselee 1999-12-17 08:35:19 How to create a new PL language in postgres
Previous Message Nikolay Mijaylov 1999-12-17 07:19:54 Re: [GENERAL] char(xx) problem