Re: Postgresql 9.1 logging

From: Birta Levente <blevi(dot)linux(at)gmail(dot)com>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgresql 9.1 logging
Date: 2012-01-05 09:40:49
Message-ID: 4F057021.7090205@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/01/2012 16:15, Andreas Kretschmer wrote:
> Birta Levente<blevi(dot)linux(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Radosław Smogura 2012-01-05 11:05:15 Re: help... lost database after upgrade from 9.0 to 9.1
Previous Message Bruno Boettcher 2012-01-05 07:42:01 Re: help... lost database after upgrade from 9.0 to 9.1