[GENERAL] How to get timestamped pgsql logging?

Поиск
Список
Период
Сортировка
От Ed Loehr
Тема [GENERAL] How to get timestamped pgsql logging?
Дата
Msg-id 3859ED29.1267B897@austin.rr.com
обсуждение исходный текст
Ответ на Czech Win1250 sorting q  (Robert <robert@robert.cz>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: "Nikolay Mijaylov"
Дата:
Сообщение: Re: [GENERAL] char(xx) problem
Следующее
От: jesselee@sohu.com
Дата:
Сообщение: How to create a new PL language in postgres