Re: Logging checkpoints and other slowdown causes - Mailing list pgsql-patches

From Guillaume Smet
Subject Re: Logging checkpoints and other slowdown causes
Date
Msg-id 1d4e0c10705110429n3e7f1f9as8eab7fcbeb610758@mail.gmail.com
Whole thread Raw
In response to Re: Logging checkpoints and other slowdown causes  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: Logging checkpoints and other slowdown causes
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Logging checkpoints and other slowdown causes
Next
From: Heikki Linnakangas
Date:
Subject: Re: Logging checkpoints and other slowdown causes