Re: Monitoring postmaster.log

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Monitoring postmaster.log
Дата
Msg-id 15326.1123303845@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Monitoring postmaster.log  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Список pgsql-novice
"Walker, Jed S" <Jed_Walker@cable.comcast.com> writes:
> I am trying to setup rules to monitor the postmaster.log file, but I
> don't see a way to do it cleanly. I want to monitor for FATAL  and
> PANIC, but the problem is that when someon give the wrong password
> logging in, it gives a FATAL error and I don't want to be woken up in
> the middle of the night because of a typo.

Do you actually have a use-case for watching for FATAL errors?  I don't
offhand know of any examples where that's important for an admin to pay
attention to.  FATAL implies a clean exit of the current session, and
we don't really use that for anything except connection startup rejections
of various sorts (like bad password or too many clients already).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CREATE CAST question
Следующее
От: Sean
Дата:
Сообщение: Uploading and loading