elog(LOG), elog(DEBUG)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: elog(LOG), elog(DEBUG)
Date: 2001-05-05 08:58:18
Message-ID: Pine.LNX.4.30.0105051048001.769-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2001-05-05 09:14:48 Re: elog(LOG), elog(DEBUG)
Previous Message David McWherter 2001-05-05 07:07:22 GiST indexing problems...