From a033daf5663944872080f1f52deb2ffcb40f4042 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Sat, 2 Mar 2002 21:39:36 +0000
Subject: Commit to match discussed elog() changes. Only update is that LOG is
now just below FATAL in server_min_messages. Added more text to highlight
ordering difference between it and client_min_messages.
---------------------------------------------------------------------------
REALLYFATAL => PANIC
STOP => PANIC
New INFO level the prints to client by default
New LOG level the prints to server log by default
Cause VACUUM information to print only to the client
NOTICE => INFO where purely information messages are sent
DEBUG => LOG for purely server status messages
DEBUG removed, kept as backward compatible
DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added
DebugLvl removed in favor of new DEBUG[1-5] symbols
New server_min_messages GUC parameter with values:
DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC
New client_min_messages GUC parameter with values:
DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC
Server startup now logged with LOG instead of DEBUG
Remove debug_level GUC parameter
elog() numbers now start at 10
Add test to print error message if older elog() values are passed to elog()
Bootstrap mode now has a -d that requires an argument, like postmaster
---
doc/src/sgml/ref/postgres-ref.sgml | 8 ++++---
doc/src/sgml/ref/postmaster.sgml | 7 +++---
doc/src/sgml/runtime.sgml | 47 ++++++++++++++++++++++++++------------
3 files changed, 41 insertions(+), 21 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/postgres-ref.sgml b/doc/src/sgml/ref/postgres-ref.sgml
index 33e9b462373..93cf8de8bd1 100644
--- a/doc/src/sgml/ref/postgres-ref.sgml
+++ b/doc/src/sgml/ref/postgres-ref.sgml
@@ -1,5 +1,5 @@
@@ -141,8 +141,10 @@ PostgreSQL documentation
The options , ,
, , ,
- , and
diff --git a/doc/src/sgml/ref/postmaster.sgml b/doc/src/sgml/ref/postmaster.sgml
index a693164825c..011144c1d5a 100644
--- a/doc/src/sgml/ref/postmaster.sgml
+++ b/doc/src/sgml/ref/postmaster.sgml
@@ -1,5 +1,5 @@
@@ -127,9 +127,8 @@ PostgreSQL documentation
Sets the debug level. The higher this value is set, the more
- debugging output is written to the server log. The default is
- 0, which means no debugging. Values up to 4 are useful; higher
- numbers produce no additional output.
+ debugging output is written to the server log. Values are from
+ 1 to 5.
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 3f46a3e9e4f..2ce788b1ea7 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
@@ -813,6 +813,38 @@ env PGOPTIONS='-c geqo=off' psql
+
+ SERVER_MIN_MESSAGES (string)
+
+
+ This controls how much detail is written to the server logs. The
+ default is NOTICE>. Valid values are DEBUG5>,
+ DEBUG4>, DEBUG3>, DEBUG2>,
+ DEBUG1>, INFO>, NOTICE>,
+ ERROR>, LOG>, FATAL>,
+ PANIC>. Later values send less detail to the logs.
+ LOG> has a different precedence here than in
+ CLIENT_MIN_MESSAGES>.
+
+
+
+
+
+ CLIENT_MIN_MESSAGES (string)
+
+
+ This controls how much detail is written to the client. The
+ default is INFO>. Valid values are
+ DEBUG5>, DEBUG4>, DEBUG3>,
+ DEBUG2>, DEBUG1>, LOG>,
+ INFO>, NOTICE>, ERROR>,
+ FATAL>, PANIC>. Later values send less
+ information to the user. literal>LOG> has a different
+ precedence here than in SERVER_MIN_MESSAGES>.
+
+
+
+
DEBUG_ASSERTIONS (boolean)
@@ -829,19 +861,6 @@ env PGOPTIONS='-c geqo=off' psql
-
- DEBUG_LEVEL (integer)
-
-
- The higher this value is set, the more
- debugging output of various sorts is generated
- in the server log during operation. This option is 0 by
- default, which means no debugging output. Values up to about 4
- currently make sense.
-
-
-
-
DEBUG_PRINT_QUERY (boolean)DEBUG_PRINT_PARSE (boolean)
--
cgit v1.2.3