Re: autovacuum daemon question... - Mailing list pgsql-admin

From Joe Maldonado
Subject Re: autovacuum daemon question...
Date
Msg-id 824355640511091334t65d96740h465e557308ab1d9a@mail.gmail.com
Whole thread Raw
In response to Re: autovacuum daemon question...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
I like the idea of having a autovacuum_log_min_messages.  From my previous experience the pg_autovacuum.log files have been useful in diagnosing problems in the field.

- Joe

On 11/9/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Joe Maldonado <joe.maldonado@gmail.com> writes:
> I agree...for now while I'm developing and debugging my application I can
> have the logging be that verbose...I agree that these should be handled as
> info messages, since they are invaluable in investigating problems.

This would be a pretty bad idea IMHO, since it would lead to bloating
the logs with autovacuum progress messages by default --- and whatever
you may think about it, I really doubt that the average DBA will want
those messages there all the time.

I wonder whether it would be practical to let the autovacuum daemon have
its own value of log_min_messages.  The alternative to that seems to be
to invent a new log severity level just for autovacuum, which is pretty
gross (especially since it's not obvious how it should sort relative to
LOG and DEBUG1).

                        regards, tom lane



--
Joe Maldonado

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: autovacuum daemon question...
Next
From: "Jim C. Nasby"
Date:
Subject: Re: How can I join in the PostgreSql developing team ?