mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove silent_mode. You get the same functionality with "pg_ctl -l
postmaster.log", or nohup. There was a small issue with LINUX_OOM_ADJ and silent_mode, namely that with silent_mode the postmaster process incorrectly used the OOM settings meant for backend processes. We certainly could've fixed that directly, but since silent_mode was redundant anyway, we might as well just remove it.
This commit is contained in:
@ -3201,36 +3201,6 @@ local0.* /var/log/postgresql
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-silent-mode" xreflabel="silent_mode">
|
||||
<term><varname>silent_mode</varname> (<type>boolean</type>)</term>
|
||||
<indexterm>
|
||||
<primary><varname>silent_mode</> configuration parameter</primary>
|
||||
</indexterm>
|
||||
<listitem>
|
||||
<para>
|
||||
Runs the server silently. If this parameter is set, the server
|
||||
will automatically run in background and disassociate from the
|
||||
controlling terminal.
|
||||
This parameter can only be set at server start.
|
||||
</para>
|
||||
|
||||
<caution>
|
||||
<para>
|
||||
When this parameter is set,
|
||||
the server's standard output and standard error are redirected
|
||||
to the file <filename>postmaster.log</> within the data directory.
|
||||
There is no provision for rotating this file, so it will grow
|
||||
indefinitely unless server log output is redirected elsewhere
|
||||
by other settings. It is recommended that <varname>log_destination</>
|
||||
be set to <literal>syslog</> or that <varname>logging_collector</> be
|
||||
enabled when using this option. Even with those measures, errors
|
||||
reported early during startup may appear in
|
||||
<filename>postmaster.log</> rather than the normal log destination.
|
||||
</para>
|
||||
</caution>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</sect2>
|
||||
<sect2 id="runtime-config-logging-when">
|
||||
|
Reference in New Issue
Block a user