Re: Autovacuum Logging

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Will Reese <wreese(at)rackspace(dot)com>
Subject: Re: Autovacuum Logging
Date: 2006-04-28 19:15:05
Message-ID: 200604281515.05726.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thursday 27 April 2006 11:59, Bruce Momjian wrote:
> Well, one problem now is that everytime pg_autovacuum opens a database,
> a message is placed in the logs:
>
> LOG: autovacuum: processing database "test"
> LOG: autovacuum: processing database "test"
> LOG: autovacuum: processing database "test"
> LOG: autovacuum: processing database "test"
>
> This is certainly not desirable. I changed the message to DEBUG1 for
> 8.2 with the attached patch.

IMHO this is less optimal, since the default installation will provide no way
for users to verify that autovacuum is running. Currently we can direct them
to look in thier log output, this way we would have to tell them to crank up
logging to DEBUG1 and then look, which will of course contain a whole lot of
other chatter at that level.

The best solution I have seen so far is the idea of a GUC to control
autovacuums chatter level. I hope we get that becuase the above will be a
regression imho.

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Larry Rosenman 2006-04-28 19:33:27 Re: Autovacuum Logging
Previous Message Don Walker 2006-04-28 19:11:09 Use of ISpell dictionaries with tsearch2 - what is the point?

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Buttafuoco 2006-04-28 19:42:29 Re: Autovacuum Logging
Previous Message Brandon Black 2006-04-28 19:06:48 Re: Constraint Exclusion + Joins?