Re: Syslog line wrapping

From: Vladimir Rusinov <vladimir(at)greenmice(dot)info>
To: Evan Rempel <erempel(at)uvic(dot)ca>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Syslog line wrapping
Date: 2010-09-24 08:13:58
Message-ID: AANLkTi=sSEjrTO6qYZ9HjDfGFpQCj7vnqCYhp19RhySQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Sep 24, 2010 at 7:55 AM, Evan Rempel <erempel(at)uvic(dot)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lukasz Brodziak 2010-09-24 10:12:23 Re: pg_dump fails with "ERROR: cache lookup failed for index 1531353157"
Previous Message Tom Lane 2010-09-24 04:21:32 Re: Syslog line wrapping