Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group