Re: elog(LOG), elog(DEBUG)

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: elog(LOG), elog(DEBUG)
Дата
Msg-id 20010505021447.A18676@fw.wintelcom.net
обсуждение исходный текст
Ответ на elog(LOG), elog(DEBUG)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
* Peter Eisentraut <peter_e@gmx.net> [010505 02:06] wrote:
> There's a TODO item to make elog(LOG) a separate level.  I propose the
> name INFO.  It would be identical to DEBUG in effect, only with a
> different label.  Additionally, all DEBUG logging should either be
> disabled unless the debug_level is greater than zero, or alternatively
> some elog(DEBUG) calls should be converted to INFO conditional on a
> configuration setting (like log_pid, for example).
> 
> The stricter distinction between DEBUG and INFO would also yield the
> possibility of optionally sending DEBUG output to the frontend, as has
> been requested a few times.

INFO makes sense as afaik it maps to syslog.

-- 
-Alfred Perlstein - [alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: elog(LOG), elog(DEBUG)
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: GiST indexing problems...