Skip to content

Commit 131ec00

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 a1fc364 commit 131ec00

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
@@ -3349,6 +3349,7 @@ local0.* /var/log/postgresql
33493349
cluster data directory.
33503350
This parameter can only be set in the <filename>postgresql.conf</>
33513351
file or on the server command line.
3352+
The default is <literal>pg_log</literal>.
33523353
</para>
33533354
</listitem>
33543355
</varlistentry>
@@ -3374,6 +3375,7 @@ local0.* /var/log/postgresql
33743375
</ulink> specification.
33753376
Note that the system's <systemitem>strftime</systemitem> is not used
33763377
directly, so platform-specific (nonstandard) extensions do not work.
3378+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
33773379
</para>
33783380
<para>
33793381
If you specify a file name without escapes, you should plan to
@@ -3390,8 +3392,6 @@ local0.* /var/log/postgresql
33903392
log file name to create the file name for CSV-format output.
33913393
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
33923394
replaced instead.)
3393-
In the case of the example above, the CSV
3394-
file name will be <literal>server_log.1093827753.csv</literal>.
33953395
</para>
33963396
<para>
33973397
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