[PATCH] log_{directory,filename} doc fixes

Started by Christoph Bergover 11 years ago2 messages
#1Christoph Berg
christoph.berg@credativ.de
1 attachment(s)

Hi,

The defaults for log_directory and log_filename were undocumented, and
the log_filename docs still refered to a config example that was
removed with 8.4 deprecation of epoch-based logfilenames.

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Attachments:

logdocpatchtext/plain; charset=us-asciiDownload
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
new file mode 100644
index 09e6dfc..e3d1c62
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
*************** local0.*    /var/log/postgresql
*** 3667,3672 ****
--- 3667,3673 ----
          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>
*************** local0.*    /var/log/postgresql
*** 3693,3698 ****
--- 3694,3700 ----
          </ulink> specification.
          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
*************** local0.*    /var/log/postgresql
*** 3709,3716 ****
          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</>
--- 3711,3716 ----
#2Fujii Masao
masao.fujii@gmail.com
In reply to: Christoph Berg (#1)
Re: [PATCH] log_{directory,filename} doc fixes

On Wed, Jun 25, 2014 at 11:38 PM, Christoph Berg
<christoph.berg@credativ.de> wrote:

Hi,

The defaults for log_directory and log_filename were undocumented, and
the log_filename docs still refered to a config example that was
removed with 8.4 deprecation of epoch-based logfilenames.

Thanks! Committed.

Regards,

--
Fujii Masao

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers