Skip to content

Commit 9fc8661

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 d297c91 commit 9fc8661

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
@@ -2472,6 +2472,7 @@ local0.* /var/log/postgresql
24722472
cluster data directory.
24732473
This parameter can only be set in the <filename>postgresql.conf</>
24742474
file or on the server command line.
2475+
The default is <literal>pg_log</literal>.
24752476
</para>
24762477
</listitem>
24772478
</varlistentry>
@@ -2493,6 +2494,7 @@ local0.* /var/log/postgresql
24932494
by <xref linkend="guc-log-timezone">.)
24942495
Note that the system's <systemitem>strftime</systemitem> is not used
24952496
directly, so platform-specific (nonstandard) extensions do not work.
2497+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
24962498
</para>
24972499
<para>
24982500
If you specify a file name without escapes, you should plan to
@@ -2509,8 +2511,6 @@ local0.* /var/log/postgresql
25092511
log file name to create the file name for CSV-format output.
25102512
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
25112513
replaced instead.)
2512-
In the case of the example above, the CSV
2513-
file name will be <literal>server_log.1093827753.csv</literal>.
25142514
</para>
25152515
<para>
25162516
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