Re: Syslog line wrapping - Mailing list pgsql-admin

From Vladimir Rusinov
Subject Re: Syslog line wrapping
Date
Msg-id AANLkTi=sSEjrTO6qYZ9HjDfGFpQCj7vnqCYhp19RhySQ@mail.gmail.com
Whole thread Raw
In response to Syslog line wrapping  (Evan Rempel <erempel@uvic.ca>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Syslog line wrapping
Next
From: Lukasz Brodziak
Date:
Subject: Re: pg_dump fails with "ERROR: cache lookup failed for index 1531353157"