Re: Postgresql 9.1 logging - Mailing list pgsql-general

From Birta Levente
Subject Re: Postgresql 9.1 logging
Date
Msg-id 4F057021.7090205@gmail.com
Whole thread Raw
In response to Re: Postgresql 9.1 logging  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-general
On 04/01/2012 16:15, Andreas Kretschmer wrote:
> Birta Levente<blevi.linux@gmail.com>  wrote:
>
>> Hi all
>>
>> I use postgresql 9.1.2 on centos 6.2 and I want to use pgfouine, but in
>> my log file appear #011, #015 ... characters and the pgfouine can't
>> handle it.
>> Can I configure the server or rsyslog to log without these characters or
>> I need filter separately?
>>
>> thanks
>> Levi
>>
>> the log section from my configuration file:
> Set lc_message = 'C' in your postgresql.conf and restart/reload the server.
>
>
> Andreas
Thanks for your the reply, but nothing changed. When log to stderr these
characters not appear (even with lc_messages='en_US.utf8'), but pgfouine
recommend to use with syslog.
It's very simple to make a sed and work fine.... I am just curious to
know if it's possible.

Thanks anyway

Levi






pgsql-general by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: Duplicated entries are not ignored even if a "do instead nothing" rule is added.
Next
From: Radosław Smogura
Date:
Subject: Re: help... lost database after upgrade from 9.0 to 9.1