| От | Tom Lane |
|---|---|
| Тема | Re: how to completely turn off statement error logging |
| Дата | |
| Msg-id | 740639.1715610369@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | how to completely turn off statement error logging ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>) |
| Ответы |
AW: [Extern] Re: how to completely turn off statement error logging
|
| Список | pgsql-general |
"Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch> 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_statement = panic" according to the docs:
> To effectively turn off logging of failing statements, set this parameter to PANIC.
This setting controls whether the STATEMENT: detail is appended to a
message, but not the basic choice of whether to emit the message.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера