Why does LOG have higher priority than ERROR and WARNING?

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Why does LOG have higher priority than ERROR and WARNING?
Дата
Msg-id 20090911175340.E257.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Why does LOG have higher priority than ERROR and WARNING?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
LOG messages have higher priority than ERROR and WARNING
in log_min_messages (PANIC > FATAL > LOG > ERROR > WARNING) now.
Can I reorder them to ERROR > WARNING > LOG ?  It makes a difference
to "per-destination minimum message levels" feature that I working on.

LOG messages are often used for performance logging. On the other hand,
WARNING and ERROR messages report something bad. It should be no surprise
that users think ERRORs and WARNINGs are more important than LOGs.
So, I think we should allow users to set log_min_messages to report
only PANIC, FATAL, ERROR and WARNING messages in server logs.

Am I missing something?

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [COMMITTERS] pgsql: On Windows, when a file is deleted and another process still has
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: RfD: more powerful "any" types