↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Configuration Parameters

log_error_verbosity

Controls the amount of detail written in the server log for each message that is logged. Valid values are TERSE, DEFAULT, and VERBOSE, each adding more fields to displayed messages. TERSE excludes the logging of DETAIL, HINT, QUERY, and CONTEXT error information. VERBOSE output includes the SQLSTATE error code (see also Appendix A) and the source code file name, function name, and line number that generated the error. Only superusers and users with the appropriate SET privilege can change this setting.

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
default
category
Reporting and Logging / What to Log
context
superuser
doc same as
Unknown
documented
true
enumvals
terse, default, verbose
extra desc
Unknown
lang
en
max val
Unknown
metadata version
18
min val
Unknown
name
log_error_verbosity
short desc
Sets the verbosity of logged messages.
source
pg-settings-source-snapshot
unit
Unknown
vartype
enum

Definition PG 18

Controls the amount of detail written in the server log for each message that is logged. Valid values are TERSE, DEFAULT, and VERBOSE, each adding more fields to displayed messages. TERSE excludes the logging of DETAIL, HINT, QUERY, and CONTEXT error information. VERBOSE output includes the SQLSTATE error code (see also Appendix A) and the source code file name, function name, and line number that generated the error. Only superusers and users with the appropriate SET privilege can change this setting.

Compare versions

Complete source facts

doc html

<p>
        Controls the amount of detail written in the server log for each
        message that is logged.  Valid values are <code class="literal">TERSE</code>,
        <code class="literal">DEFAULT</code>, and <code class="literal">VERBOSE</code>, each adding more
        fields to displayed messages.  <code class="literal">TERSE</code> excludes
        the logging of <code class="literal">DETAIL</code>, <code class="literal">HINT</code>,
        <code class="literal">QUERY</code>, and <code class="literal">CONTEXT</code> error information.
        <code class="literal">VERBOSE</code> output includes the <code class="symbol">SQLSTATE</code> error
        code (see also <a class="xref" href="/docs/18/errcodes-appendix.html" title="Appendix A. PostgreSQL Error Codes">Appendix A</a>) and the source code file name, function name,
        and line number that generated the error.
        Only superusers and users with the appropriate <code class="literal">SET</code>
        privilege can change this setting.
       </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:1596f6bed07a1fb65d2e112bbc986e08f175ba9c8730c751ab86f14e8cb5739f

Text language: en · wiki-repair-20261023:1596f6bed07a1fb65d2e112bbc986e08f175ba9c8730c751ab86f14e8cb5739f