Re: DEBUG lines in server log

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DEBUG lines in server log
Дата
Msg-id 16097.1006818247@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DEBUG lines in server log  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Someone on IRC complained about these lines in the server log:
> DEBUG:  database system was shut down at 2001-11-26 16:44:06 EST
> DEBUG:  checkpoint record is at 0/1361168
> DEBUG:  redo record is at 0/1361168; undo record is at 0/0; shutdown TRUE
> DEBUG:  next transaction id: 4484; next oid: 147882
> DEBUG:  database system is ready

> Should they be there, and should they say DEBUG?

They look like DEBUG messages to me ;-)

I would certainly not want the postmaster to start up completely
silently; the "database system is ready" message should absolutely not
be removed.  The "when shut down" output also seems moderately useful
to admins.  The middle three lines are perhaps not useful in normal
operation but I can see them being pretty important in a failure
scenario, so I'm not that much in a hurry to take them out either.

What exactly was the complaint, or rationale for complaining?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Minor buglet in update...from (I think)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: insert/update/delete statements returning a query response