Log level correlations
There was a post recently on using Syslog with PostgreSQL on pgsql-general. As you can see, Tom Lane kindly replied in the thread. I decided that it might be a good idea to submit a DOC patch. I only received on comment on the patch, so I don't know if it will be applied or not. The comment, caused me to consider creating a table for the docs that correlated the different log levels between PostgreSQL, Syslog and Eventlog. The HTML version of that table is below:
Log level correlation
PostgreSQLSyslogEventlog
DEBUG1-DEBUG5LOG_DEBUGEVENTLOG_INFORMATION_TYPE
LOGLOG_INFOEVENTLOG_INFORMATION_TYPE
INFOLOG_INFOEVENTLOG_INFORMATION_TYPE
NOTICELOG_NOTICEEVENTLOG_INFORMATION_TYPE
WARNINGLOG_NOTICEEVENTLOG_WARNING_TYPE
ERRORLOG_WARNINGEVENTLOG_ERROR_TYPE
FATALLOG_ERREVENTLOG_ERROR_TYPE
PANICLOG_CRITEVENTLOG_ERROR_TYPE
I have decided not to submit a patch to -docs for this. I do not have the inclination to use DocBook SGML (XML sure and yes it is quite a bit different) and since we are past year 2001, the tools out there I could find support only DocBook XML.