On Monday, May 13, 2024, Zwettler Markus (OIZ)
wrote:
>
>
> but I do not want to suppress errors that are related to infrastructure
> problems, i.e. "could not open file..."
>
>
The server doesn’t classify the errors it emits into scope, “application
errors” and ”infrastructure errors”, or otherwi
> Von: Tom Lane
> Gesendet: Montag, 13. Mai 2024 16:26
> An: Zwettler Markus (OIZ)
> Cc: pgsql-general@lists.postgresql.org
> Betreff: [Extern] Re: how to completely turn off statement error logging
>
> "Zwettler Markus (OIZ)" writes:
> > I don't
"Zwettler Markus (OIZ)" writes:
> I don't want to log statement errors in the server logfile - whether the
> statement string nor the error message.
You need to set log_min_messages higher than ERROR. You might
consider using LOG or FATAL rather than PANIC, though.
> I set "log_min_error_state
I don't want to log statement errors in the server logfile - whether the
statement string nor the error message.
I set "log_min_error_statement = panic" according to the docs:
To effectively turn off logging of failing statements, set this parameter to
PANIC.
But error messages are still l