elog(NOIND)? 
Author Message
 elog(NOIND)?
Does anyone want to keep elog(NOIND)?  It's not used anywhere, and I think
the notion of indentation levels, while kind of obsolete with syslog
anyway, should not be part of the elog API.

--

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command



Mon, 24 Nov 2003 01:46:22 GMT
 elog(NOIND)?

Quote:

> Does anyone want to keep elog(NOIND)?  It's not used anywhere, and I think
> the notion of indentation levels, while kind of obsolete with syslog
> anyway, should not be part of the elog API.

Nuke it.

While you're at it, rearrange the numeric order of the elog levels to be
sensible.  There are some bizarrely-coded tests in elog.c that could be
simplified if severity levels had the obvious ordering.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Mon, 24 Nov 2003 02:52:58 GMT
 elog(NOIND)?

Quote:
Tom Lane writes:
> While you're at it, rearrange the numeric order of the elog levels to be
> sensible.  There are some bizarrely-coded tests in elog.c that could be
> simplified if severity levels had the obvious ordering.

Okay, but I'm not sure there will be a total ordering forever.  For
example, it's pretty useless to log user-level errors like "syntax error"
to the server log by default.  There needs to be more flexibility.

Does anyone foresee a problem with making them an enum?

--

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Mon, 24 Nov 2003 22:42:10 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. elog(LOG), elog(DEBUG)

2. pgsql/src/include/utils (elog.h)

3. pgsql/src/include/utils (elog.h)

4. pgsql/src/backend/utils/error (elog.c)

5. pgsql/src/backend/utils/error (elog.c exc.c)

6. Talkative initdb, elog message levels

7. elog() proposals

8. pgsql/src/backend/utils/error elog.c

9. pgsql/src/backend/utils/error elog.c

10. ELOGs doubled up

11. elog() proposal

12. pgsql/src/include/utils (elog.h)


 
Powered by phpBB® Forum Software