Skip to content

Commit 4ee4594

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 1c9f9e8 commit 4ee4594

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
@@ -3261,6 +3261,7 @@ local0.* /var/log/postgresql
32613261
cluster data directory.
32623262
This parameter can only be set in the <filename>postgresql.conf</>
32633263
file or on the server command line.
3264+
The default is <literal>pg_log</literal>.
32643265
</para>
32653266
</listitem>
32663267
</varlistentry>
@@ -3286,6 +3287,7 @@ local0.* /var/log/postgresql
32863287
</ulink> specification.
32873288
Note that the system's <systemitem>strftime</systemitem> is not used
32883289
directly, so platform-specific (nonstandard) extensions do not work.
3290+
The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
32893291
</para>
32903292
<para>
32913293
If you specify a file name without escapes, you should plan to
@@ -3302,8 +3304,6 @@ local0.* /var/log/postgresql
33023304
log file name to create the file name for CSV-format output.
33033305
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
33043306
replaced instead.)
3305-
In the case of the example above, the CSV
3306-
file name will be <literal>server_log.1093827753.csv</literal>.
33073307
</para>
33083308
<para>
33093309
This parameter can only be set in the <filename>postgresql.conf</>

0 commit comments

Comments
 (0)