summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao2014-06-26 05:27:27 +0000
committerFujii Masao2014-06-26 05:30:36 +0000
commit9fc8661c959d020fad58cfaa842ad3c656b4c211 (patch)
treef6259b6c504fe11e2b603d5aa9e21dc67d85519d
parentd297c91d43798d19b80d5465349bb0f53fc9499a (diff)
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
-rw-r--r--doc/src/sgml/config.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 1f82f3543d0..d47dd9ce561 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -2472,6 +2472,7 @@ local0.* /var/log/postgresql
cluster data directory.
This parameter can only be set in the <filename>postgresql.conf</>
file or on the server command line.
+ The default is <literal>pg_log</literal>.
</para>
</listitem>
</varlistentry>
@@ -2493,6 +2494,7 @@ local0.* /var/log/postgresql
by <xref linkend="guc-log-timezone">.)
Note that the system's <systemitem>strftime</systemitem> is not used
directly, so platform-specific (nonstandard) extensions do not work.
+ The default is <literal>postgresql-%Y-%m-%d_%H%M%S.log</literal>.
</para>
<para>
If you specify a file name without escapes, you should plan to
@@ -2509,8 +2511,6 @@ local0.* /var/log/postgresql
log file name to create the file name for CSV-format output.
(If <varname>log_filename</> ends in <literal>.log</>, the suffix is
replaced instead.)
- In the case of the example above, the CSV
- file name will be <literal>server_log.1093827753.csv</literal>.
</para>
<para>
This parameter can only be set in the <filename>postgresql.conf</>