Skip to content

Commit 8658680

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 dd1a5b0 commit 8658680

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
@@ -3057,6 +3057,7 @@ local0.* /var/log/postgresql
30573057
cluster data directory.
30583058
This parameter can only be set in the <filename>postgresql.conf</>
30593059
file or on the server command line.
3060+
The default is <literal>pg_log</literal>.
30603061
</para>
30613062
</listitem>
30623063
</varlistentry>
@@ -3082,6 +3083,7 @@ local0.* /var/log/postgresql
30823083
</ulink> specification.
30833084
Note that the system's <systemitem>strftime</systemitem> is not used
30843085
directly, so platform-specific (nonstandard) extensions do not work.
3086+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
30853087
</para>
30863088
<para>
30873089
If you specify a file name without escapes, you should plan to
@@ -3098,8 +3100,6 @@ local0.* /var/log/postgresql
30983100
log file name to create the file name for CSV-format output.
30993101
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
31003102
replaced instead.)
3101-
In the case of the example above, the CSV
3102-
file name will be <literal>server_log.1093827753.csv</literal>.
31033103
</para>
31043104
<para>
31053105
This parameter can only be set in the <filename>postgresql.conf</>

0 commit comments

Comments
 (0)