]> granicus.if.org Git - postgresql/blobdiff - doc/src/sgml/ref/pg_ctl-ref.sgml
Add option to pg_ctl to choose event source for logging
[postgresql] / doc / src / sgml / ref / pg_ctl-ref.sgml
index 52bcf5e81538ee8085febae0c9f615a7ce3a9248..23681294b87d767f5d085936ac482bec743c26d5 100644 (file)
@@ -419,6 +419,22 @@ PostgreSQL documentation
    <title>Options for Windows</title>
 
    <variablelist>
+    <varlistentry>
+     <term><option>-e <replaceable class="parameter">source</replaceable></option></term>
+     <listitem>
+      <para>
+       Name of the event source for <application>pg_ctl</application> to use
+       for logging to the event log when running as a Windows service.  The
+       default is <literal>PostgreSQL</literal>.  Note that this only controls
+       the logging from <application>pg_ctl</application> itself - once
+       started, the server will use the event source specified
+       by <xref linkend="guc-event-source">.  Should the server fail during
+       early startup, it may also log using the default event
+       source <literal>PostgreSQL</literal>.
+      </para>
+     </listitem>
+    </varlistentry>
+
     <varlistentry>
      <term><option>-N <replaceable class="parameter">servicename</replaceable></option></term>
      <listitem>