From 61c3e5b2486825ee65da322e1408286a8c0d5de6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 2 Mar 2007 23:37:23 +0000 Subject: Make log_min_error_statement put LOG level at the same priority as log_min_messages does; and arrange to suppress the duplicative output that would otherwise result from log_statement and log_duration messages. Bruce Momjian and Tom Lane. --- src/backend/utils/misc/postgresql.conf.sample | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 703f5cbaa33..77a86f0020b 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -262,7 +262,7 @@ # - When to Log - -#client_min_messages = notice # Values, in order of decreasing detail: +#client_min_messages = notice # Values in order of decreasing detail: # debug5 # debug4 # debug3 @@ -273,7 +273,7 @@ # warning # error -#log_min_messages = notice # Values, in order of decreasing detail: +#log_min_messages = notice # Values in order of decreasing detail: # debug5 # debug4 # debug3 @@ -289,7 +289,7 @@ #log_error_verbosity = default # terse, default, or verbose messages -#log_min_error_statement = error # Values in order of increasing severity: +#log_min_error_statement = error # Values in order of decreasing detail: # debug5 # debug4 # debug3 @@ -299,11 +299,14 @@ # notice # warning # error + # log # fatal # panic (effectively off) #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements - # and their durations. + # and their durations, > 0 logs only + # statements running at least N msec. + #silent_mode = off # DO NOT USE without syslog or # redirect_stderr -- cgit v1.2.3