Re: PATCH: regular logging of checkpoint progress
Tomas Vondra <tv@fuzzy.cz>
From: "Tomas Vondra" <tv@fuzzy.cz>
To: "Magnus Hagander" <magnus@hagander.net>
Cc: "Tomas Vondra" <tv@fuzzy.cz>,
pgsql-hackers@postgresql.org
Date: 2011-09-02T13:25:09Z
Lists: pgsql-hackers
Attachments
- checkpoint-stats-update-v3.diff (text/plain)
On 2 Září 2011, 12:45, Magnus Hagander wrote: > On Fri, Sep 2, 2011 at 11:01, Tomas Vondra <tv@fuzzy.cz> wrote: >> What about logging it with a lower level, e.g. NOTICE instead of the >> current LOG? If that's not a solution then a new GUC is needed I guess. > > I guess if it's at a DEBUG level it won't annoy anybody who doesn't > need it. Not sure if NOTICE is low enough.. I've changed the level to NOTICE. I guess I could put that to info, but the debug levels seem too low to me. Is there a rule of a thumb about where to put messages? Tomas