↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

syslog_sequence_numbers

When logging to syslog and this is on (the default), then each message will be prefixed by an increasing sequence number (such as [2]). This circumvents the “--- last message repeated N times ---” suppression that many syslog implementations perform by default. In more modern syslog implementations, repeated message suppression can be configured (for example, $RepeatedMsgReduction in rsyslog), so this might not be necessary. Also, you could turn this off if you actually want to suppress repeated messages. This parameter can only be set in the postgresql.conf file or on the server command line.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

boot val
on
category
Reporting and Logging / Where to Log
context
sighup
doc same as
Unknown
documented
true
enumvals
Unknown
extra desc
Unknown
lang
en
max val
Unknown
metadata version
18
min val
Unknown
name
syslog_sequence_numbers
short desc
Add sequence number to syslog messages to avoid duplicate suppression.
source
pg-settings-source-snapshot
unit
Unknown
vartype
bool

Definition PG 18

When logging to syslog and this is on (the default), then each message will be prefixed by an increasing sequence number (such as [2]). This circumvents the “--- last message repeated N times ---” suppression that many syslog implementations perform by default. In more modern syslog implementations, repeated message suppression can be configured (for example, $RepeatedMsgReduction in rsyslog), so this might not be necessary. Also, you could turn this off if you actually want to suppress repeated messages.

This parameter can only be set in the postgresql.conf file or on the server command line.

Compare versions

Complete source facts

doc html

<p>
         When logging to <span class="application">syslog</span> and this is on (the
         default), then each message will be prefixed by an increasing
         sequence number (such as <code class="literal">[2]</code>).  This circumvents
         the <span class="quote">“<span class="quote">--- last message repeated N times ---</span>”</span> suppression
         that many syslog implementations perform by default.  In more modern
         syslog implementations, repeated message suppression can be configured
         (for example, <code class="literal">$RepeatedMsgReduction</code>
         in <span class="productname">rsyslog</span>), so this might not be
         necessary.  Also, you could turn this off if you actually want to
         suppress repeated messages.
        </p><p>
         This parameter can only be set in the <code class="filename">postgresql.conf</code>
         file or on the server command line.
        </p>

documentation revision

{"inputs":[{"file":"runtime-config-logging.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"278d913b9c0f735c5cd7b35fd7205826bbd9c449805370d2dbe54105c0ed1d88","version":"18.7"},{"file":"runtime-config-logging.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"68c010254e1859ec0b76f06a563babd51a6c38997f1242e35e4c6b649724b1cb","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:d7b7295a0c4931d83b20dbf6b67157c88ec166a067b435fb634f76ffb7ba5b59

Text language: en · wiki-repair-20261023:d7b7295a0c4931d83b20dbf6b67157c88ec166a067b435fb634f76ffb7ba5b59