diff options
Diffstat (limited to 'doc/src/sgml/config.sgml')
-rw-r--r-- | doc/src/sgml/config.sgml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index fa2dcf336c4..3ace7dfa930 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3037,6 +3037,14 @@ local0.* /var/log/postgresql to the <application>syslog</application> daemon's configuration file to make it work. </para> + <para> + On Windows, when you use the <literal>eventlog</literal> + option for <varname>log_destination</>, you should + register an event source and its library with the operating + system so that the Windows Event Viewer can display event + log messages cleanly. + See <xref linkend="event-log-registration"> for details. + </para> </note> </listitem> </varlistentry> @@ -3287,6 +3295,23 @@ local0.* /var/log/postgresql </listitem> </varlistentry> + <varlistentry id="guc-event-source" xreflabel="event_source"> + <term><varname>event_source</varname> (<type>string</type>)</term> + <indexterm> + <primary><varname>event_source</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + When logging to <application>event log</> is enabled, this parameter + determines the program name used to identify + <productname>PostgreSQL</productname> messages in + the log. The default is <literal>PostgreSQL</literal>. + This parameter can only be set in the <filename>postgresql.conf</> + file or on the server command line. + </para> + </listitem> + </varlistentry> + </variablelist> </sect2> <sect2 id="runtime-config-logging-when"> |