Re: how to completely turn off statement error logging

2024-05-13 Thread David G. Johnston
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

AW: [Extern] Re: how to completely turn off statement error logging

2024-05-13 Thread Zwettler Markus (OIZ)
> 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

Re: how to completely turn off statement error logging

2024-05-13 Thread Tom Lane
"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