| От | Tom Lane |
|---|---|
| Тема | Re: debug_level 0 does not stop debug messages |
| Дата | |
| Msg-id | 7851.989352824@sss.pgh.pa.us обсуждение |
| Ответ на | Re: debug_level 0 does not stop debug messages (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-bugs |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, I did a little research on this. It turns out that this code in
> vacuum.c:
> if (vacstmt->verbose)
> MESSAGE_LEVEL = NOTICE;
> else
> MESSAGE_LEVEL = DEBUG;
> controls whether the message comes out as a NOTICE or a DEBUG. My guess
> is that you are doing a VACUUM VERBOSE, and those are coming out in the
> server logs.
> Guys, is this the proper way to handle this?
It could probably be done better, but VACUUM has behaved like that for
quite a few years now. I don't see any need to change it until we have
a complete redesign of message handling in mind. Peter E. has muttered
about some ideas in that line...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера