Skip to content

Commit d51a600

Browse files
committed
Remove obsolete example of CSV log file name from log_filename document.
7380b63 changed log_filename so that epoch was not appended to it when no format specifier is given. But the example of CSV log file name with epoch still left in log_filename document. This commit removes such obsolete example. This commit also documents the defaults of log_directory and log_filename. Backpatch to all supported versions. Christoph Berg
1 parent 83131e6 commit d51a600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2848,6 +2848,7 @@ local0.* /var/log/postgresql
28482848
cluster data directory.
28492849
This parameter can only be set in the <filename>postgresql.conf</>
28502850
file or on the server command line.
2851+
The default is <literal>pg_log</literal>.
28512852
</para>
28522853
</listitem>
28532854
</varlistentry>
@@ -2869,6 +2870,7 @@ local0.* /var/log/postgresql
28692870
by <xref linkend="guc-log-timezone">.)
28702871
Note that the system's <systemitem>strftime</systemitem> is not used
28712872
directly, so platform-specific (nonstandard) extensions do not work.
2873+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
28722874
</para>
28732875
<para>
28742876
If you specify a file name without escapes, you should plan to
@@ -2885,8 +2887,6 @@ local0.* /var/log/postgresql
28852887
log file name to create the file name for CSV-format output.
28862888
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
28872889
replaced instead.)
2888-
In the case of the example above, the CSV
2889-
file name will be <literal>server_log.1093827753.csv</literal>.
28902890
</para>
28912891
<para>
28922892
This parameter can only be set in the <filename>postgresql.conf</>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy