Re: Logging checkpoints and other slowdown causes

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Logging checkpoints and other slowdown causes
Дата
Msg-id 1d4e0c10705110429n3e7f1f9as8eab7fcbeb610758@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logging checkpoints and other slowdown causes  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Logging checkpoints and other slowdown causes  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-patches
On 5/11/07, Heikki Linnakangas <heikki@enterprisedb.com> wrote:
> I agree that debug levels are not suitable for this.

Squid (the (reverse) proxy) has a nice feature for debugging purposes
(admin and developers). It's possible to have different logging level
for different sections of the code. For example, if you want to debug
a particular part, you can have ALL,1 33,2 in your config file which
allows you to have a more verbose debug on the section 33 of the code
(33 is ACL).
It's really useful because you can even debug a particular code path
or a misconfiguration in production without generating a huge amount
of logs.

--
Guillaume

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Logging checkpoints and other slowdown causes
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Logging checkpoints and other slowdown causes