Skip to content

Commit de42ed4

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 798e235 commit de42ed4

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
@@ -3667,6 +3667,7 @@ local0.* /var/log/postgresql
36673667
cluster data directory.
36683668
This parameter can only be set in the <filename>postgresql.conf</>
36693669
file or on the server command line.
3670+
The default is <literal>pg_log</literal>.
36703671
</para>
36713672
</listitem>
36723673
</varlistentry>
@@ -3693,6 +3694,7 @@ local0.* /var/log/postgresql
36933694
</ulink> specification.
36943695
Note that the system's <systemitem>strftime</systemitem> is not used
36953696
directly, so platform-specific (nonstandard) extensions do not work.
3697+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
36963698
</para>
36973699
<para>
36983700
If you specify a file name without escapes, you should plan to
@@ -3709,8 +3711,6 @@ local0.* /var/log/postgresql
37093711
log file name to create the file name for CSV-format output.
37103712
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
37113713
replaced instead.)
3712-
In the case of the example above, the CSV
3713-
file name will be <literal>server_log.1093827753.csv</literal>.
37143714
</para>
37153715
<para>
37163716
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