Re: Logging in postgresql.conf - no SQL statements are logged

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Logging in postgresql.conf - no SQL statements are logged
Дата
Msg-id 20061110100017.GA23830@a-kretschmer.de
обсуждение исходный текст
Ответ на Logging in postgresql.conf - no SQL statements are logged  (Nico Grubert <nicogrubert@gmail.com>)
Список pgsql-general
am  Fri, dem 10.11.2006, um 10:48:12 +0100 mailte Nico Grubert folgendes:
> Dear list members,
>
> I would like to enable logging and write every SQL command that is
> executed in a logfile so I modified the "postgresql.conf" file in order
> ...
> Did I miss something?

Yes, change this line:

#log_statement = 'none'                 # none, mod, ddl, all

to:

log_statement = 'all'


and then reload the config



Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: Nico Grubert
Дата:
Сообщение: Logging in postgresql.conf - no SQL statements are logged
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: postgres at startup