| От | Tom Lane |
|---|---|
| Тема | Re: rotatelog / logrotate with PostgreSQL |
| Дата | |
| Msg-id | 11273.1032972318@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: rotatelog / logrotate with PostgreSQL ("scott.marlowe" <scott.marlowe@ihs.com>) |
| Список | pgsql-general |
"scott.marlowe" <scott.marlowe@ihs.com> writes:
> Well, I've found the syslog facility to be noticeable slower than
> rotatelogs with pgsql doing its own logging. So that's why I do it the
> rotatelogs way. Choice is good.
Other reasons: syslog is rumored to drop messages under sufficiently
heavy load (at least on some platforms); syslog inherently can't capture
all messages that might appear on stderr. For example, on most
platforms a link failure in loading a dynamic library is going to be
reported by the dynamic linker on stderr --- we have no way to reroute
it to syslog. If you're trying to debug a problem like "why doesn't
plperl work", those messages are priceless.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера