Re: More logging for autovacuum

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Gregory Stark <stark(at)enterprisedb(dot)com>
Subject: Re: More logging for autovacuum
Date: 2007-08-07 17:38:54
Message-ID: 200708071938.55807.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> > Yes, by default or at least at no level higher than INFO.
>
> No, NOT by default.  Our users have made it perfectly clear that they
> don't want the logs cluttered with high-volume information about
> non-error normal workings of the system.  Every time we have caused
> the system to emit such data by default, the log level of the
> messages in question has gotten dialed down in a later release.

But INFO is not shown by default.

In fact, just about the only useful thing that emits INFO messages is
VACUUM VERBOSE, so there is a fair precedent for equating the INFO
level with lots of chatter about VACUUM.

I like to set log_min_messages to INFO (and run vacuum verbosely) while
a system is stabilizing, so adding autovacuum information there would
come in handy.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Decibel! 2007-08-07 17:46:36 Re: .NET driver
Previous Message Tom Lane 2007-08-07 17:12:18 Re: More logging for autovacuum