summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-02-17 03:54:57 +0000
committerBruce Momjian <bruce@momjian.us>2004-02-17 03:54:57 +0000
commitc53611e3e7dc74c0c7dd79c78873fda1887f5b7f (patch)
treed1677458e6d70c3a2815a76d2cfeaeb9c47ed069 /doc/src
parent1f17316a3d472156ec8086c1760a7097c671eaa2 (diff)
This patch brings up to date what I did last year (now unfortunately
bitrotted) to allow the logging of the end of a session, enabled by the config setting "log_disconnections". Andrew Dunstan
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 67e8931273a..e6bc6f7be4f 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.237 2004/02/13 12:25:09 wieck Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.238 2004/02/17 03:54:56 momjian Exp $
-->
<Chapter Id="runtime">
@@ -1910,6 +1910,20 @@ SET ENABLE_SEQSCAN TO OFF;
<varlistentry>
+ <term><varname>log_disconnections</varname> (<type>boolean</type>)</term>
+ <listitem>
+ <para>
+ This outputs a line in the server logs similar to LOG_CONNECTIONS
+ but at session termination, and includes the duration of the
+ session. This is off by default. This option can only be set at
+ server start or in the <filename>postgresql.conf</filename>
+ configuration file.
+ </para>
+ </listitem>
+ </varlistentry>
+
+
+ <varlistentry>
<term><varname>log_duration</varname> (<type>boolean</type>)</term>
<listitem>
<para>