From d6b57925cae38abe7f7cc963ed9c0356dacacbe9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 15 Mar 2004 15:56:28 +0000 Subject: Remove GUC log_statement, log_pid, log_timestamp, log_source_port. Functionality superceeded by log_line_prefix. Andrew Dunstan --- doc/src/sgml/runtime.sgml | 46 +++++++--------------------------------------- 1 file changed, 7 insertions(+), 39 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index c49ad3720e7..6beac0a91ec 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1994,7 +1994,8 @@ SET ENABLE_SEQSCAN TO OFF; Causes the duration of every completed statement to be logged. To use this option, it is recommended that you also enable - log_statement and log_pid so that you + log_statement and if not using syslog + log the PID using log_line_prefix so that you can link the statement to the duration using the process ID. The default is off. Only superusers can turn off this option if it is enabled by the administrator. @@ -2015,6 +2016,8 @@ SET ENABLE_SEQSCAN TO OFF; processes without controlling sessions. Syslog produces its own timestamp and process ID information, so you probably do not want to use those escapes if you are using syslog. + This option can only be set at server start or in the + postgresql.conf configuration file. @@ -2059,7 +2062,8 @@ SET ENABLE_SEQSCAN TO OFF; %c Session ID. A unique identifier for each session. - It is 2 4-byte hexadecimal numbers separated by a dot. The numbers + It is 2 4-byte hexadecimal numbers (without leading zeros) + separated by a dot. The numbers are the Session Start Time and the Process ID, so this can also be used as a space saving way of printing these items. Yes @@ -2094,19 +2098,6 @@ SET ENABLE_SEQSCAN TO OFF; - - log_pid (boolean) - - - Prefixes each message in the server log file with the process ID of - the server process. This is useful to sort out which messages - pertain to which connection. The default is off. This parameter - does not affect messages logged via syslog, which - always contain the process ID. - - - - log_statement (boolean) @@ -2121,16 +2112,6 @@ SET ENABLE_SEQSCAN TO OFF; - - log_timestamp (boolean) - - - Prefixes each server log message with a time stamp. The default - is off. - - - - log_hostname (boolean) @@ -2144,19 +2125,6 @@ SET ENABLE_SEQSCAN TO OFF; - - log_source_port (boolean) - - - Shows the outgoing port number of the connecting host in the - connection log messages. You could trace back the port number - to find out what user initiated the connection. Other than - that, it's pretty useless and therefore off by default. This - option can only be set at server start. - - - - -- cgit v1.2.3