1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

doc: document that INFO messages always go to client.

In passing add a couple of links to the message severity table.

Backpatch because it's always been this way.

Author: Karl O. Pinc <kop@meme.com>
This commit is contained in:
Andrew Gierth 2019-01-07 18:19:46 +00:00
parent feb4b80388
commit bbce27c6dd

View File

@ -4579,12 +4579,13 @@ local0.* /var/log/postgresql
</term> </term>
<listitem> <listitem>
<para> <para>
Controls which message levels are written to the server log. Controls which <link linkend="runtime-config-severity-levels">message
Valid values are <literal>DEBUG5</>, <literal>DEBUG4</>, levels</link> are written to the server log.
<literal>DEBUG3</>, <literal>DEBUG2</>, <literal>DEBUG1</>, Valid values are <literal>DEBUG5</literal>, <literal>DEBUG4</literal>,
<literal>INFO</>, <literal>NOTICE</>, <literal>WARNING</>, <literal>DEBUG3</literal>, <literal>DEBUG2</literal>, <literal>DEBUG1</literal>,
<literal>ERROR</>, <literal>LOG</>, <literal>FATAL</>, and <literal>INFO</literal>, <literal>NOTICE</literal>, <literal>WARNING</literal>,
<literal>PANIC</>. Each level includes all the levels that <literal>ERROR</literal>, <literal>LOG</literal>, <literal>FATAL</literal>, and
<literal>PANIC</literal>. Each level includes all the levels that
follow it. The later the level, the fewer messages are sent follow it. The later the level, the fewer messages are sent
to the log. The default is <literal>WARNING</>. Note that to the log. The default is <literal>WARNING</>. Note that
<literal>LOG</> has a different rank here than in <literal>LOG</> has a different rank here than in
@ -4605,7 +4606,9 @@ local0.* /var/log/postgresql
Controls which SQL statements that cause an error Controls which SQL statements that cause an error
condition are recorded in the server log. The current condition are recorded in the server log. The current
SQL statement is included in the log entry for any message of SQL statement is included in the log entry for any message of
the specified severity or higher. the specified
<link linkend="runtime-config-severity-levels">severity</link>
or higher.
Valid values are <literal>DEBUG5</literal>, Valid values are <literal>DEBUG5</literal>,
<literal>DEBUG4</literal>, <literal>DEBUG3</literal>, <literal>DEBUG4</literal>, <literal>DEBUG3</literal>,
<literal>DEBUG2</literal>, <literal>DEBUG1</literal>, <literal>DEBUG2</literal>, <literal>DEBUG1</literal>,
@ -5905,16 +5908,21 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</term> </term>
<listitem> <listitem>
<para> <para>
Controls which message levels are sent to the client. Controls which
Valid values are <literal>DEBUG5</>, <link linkend="runtime-config-severity-levels">message levels</link>
<literal>DEBUG4</>, <literal>DEBUG3</>, <literal>DEBUG2</>, are sent to the client.
<literal>DEBUG1</>, <literal>LOG</>, <literal>NOTICE</>, Valid values are <literal>DEBUG5</literal>,
<literal>WARNING</>, and <literal>ERROR</>. <literal>DEBUG4</literal>, <literal>DEBUG3</literal>, <literal>DEBUG2</literal>,
<literal>DEBUG1</literal>, <literal>LOG</literal>, <literal>NOTICE</literal>,
<literal>WARNING</literal>, and <literal>ERROR</literal>.
Each level includes all the levels that follow it. The later the level, Each level includes all the levels that follow it. The later the level,
the fewer messages are sent. The default is the fewer messages are sent. The default is
<literal>NOTICE</>. Note that <literal>LOG</> has a different <literal>NOTICE</>. Note that <literal>LOG</> has a different
rank here than in <xref linkend="guc-log-min-messages">. rank here than in <xref linkend="guc-log-min-messages">.
</para> </para>
<para>
<literal>INFO</literal> level messages are always sent to the client.
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>