Re: Syslog line wrapping

Поиск
Список
Период
Сортировка
От Vladimir Rusinov
Тема Re: Syslog line wrapping
Дата
Msg-id AANLkTi=sSEjrTO6qYZ9HjDfGFpQCj7vnqCYhp19RhySQ@mail.gmail.com
обсуждение исходный текст
Ответ на Syslog line wrapping  (Evan Rempel <erempel@uvic.ca>)
Список pgsql-admin


On Fri, Sep 24, 2010 at 7:55 AM, Evan Rempel <erempel@uvic.ca> wrote:
I am running Postgresql 8.3 and would like to get postgres to
NOT wrap the syslog lines. Is ther any configuration to do this.
Perhaps I can wrap them at a very large line number?

The problem is that we want a program to analyze the logs for us, and with the line breaks it
is very difficult, although not impossible, to get a program to do this.

pgFounie handles multi-line logs easilty. You might want to check it's source to get how.
Or just use stderr logging (which is actually more stable).

--
Vladimir Rusinov
http://greenmice.info/

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Syslog line wrapping
Следующее
От: Lukasz Brodziak
Дата:
Сообщение: Re: pg_dump fails with "ERROR: cache lookup failed for index 1531353157"