Re: Change in logging behaviour between 8.1 and 8.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Change in logging behaviour between 8.1 and 8.2
Дата
Msg-id 6092.1224892561@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Change in logging behaviour between 8.1 and 8.2  (Alexander Stanier <alexander.stanier@egsgroup.com>)
Ответы Re: Change in logging behaviour between 8.1 and 8.2  (Ben Webber <ben.webber@egsgroup.com>)
Список pgsql-admin
Alexander Stanier <alexander.stanier@egsgroup.com> writes:
> We have the following parameters in our postgresql.conf:
> log_min_duration_statement = 10000
> log_duration = on
> log_statement = 'all'

> In PostgreSQL 8.2, it seems the statement and duration are no longer
> logged together (i.e. not on the same log line) which means that you
> can't easily decipher those durations/statements which have been logged
> by log_duration/log_statement from those that have been logged by
> log_min_duration_statement. The fact that they were on one line made
> them very easy to pull out of the logs.

> Was this change intentional?

Yes.  People complained about double logging of the full statement text.

            regards, tom lane

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

Предыдущее
От: "Robert Young"
Дата:
Сообщение: Re: pgadmin not processing scheduled jobs
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: pgadmin not processing scheduled jobs