| От | Tom Lane |
|---|---|
| Тема | Re: how to get logger to not break up syslog messages |
| Дата | |
| Msg-id | 29808.1297271346@sss.pgh.pa.us обсуждение |
| Ответ на | how to get logger to not break up syslog messages (l1@nym.hush.com) |
| Ответы |
Re: how to get logger to not break up syslog messages
|
| Список | pgsql-novice |
l1@nym.hush.com writes:
> The problem I'm running into is that lines are getting broken up.
Yup, that's intentional.
> This causes problems with some other log-scanners I use. Is the
> problem postgres or syslog? I know syslog has a maximum message
> size, but it's a lot longer than what Postgres seems to use.
syslog's limit is platform-dependent, and at least on some platforms
it's pretty darn small. If you know for sure what your platform
can tolerate, you can alter PG_SYSLOG_LIMIT in
src/backend/utils/error/elog.c. There's no way to change it
without a recompile.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера