Re: issue related to logging facility of postgres

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: issue related to logging facility of postgres
Дата
Msg-id CA+TgmoZ7tDodaYZpZoaujwr81vfzrQnFYimVZgvGhhoaMn2QDQ@mail.gmail.com
обсуждение исходный текст
Ответ на issue related to logging facility of postgres  (shailesh singh <shaileshjuly@gmail.com>)
Список pgsql-performance
On Wed, Jul 27, 2011 at 5:11 AM, shailesh singh <shaileshjuly@gmail.com> wrote:
> I want to configure Logging of postgres in such a way that messages of
> different severity should be logged in different log file. eg: all ERROR
> message should be written in error-msg.log file while all NOTICE mesage
> should be written in notice-msg.log file.
>
> In order to do that what changes should i need to do in configuration file ?
> Could you pl give a solution.

There's no such facility built-in.  You might want to do something
like "log everything in CSV format, and then run a  Perl script over
it afterwards to split it up".

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.4 optimization regression?
Следующее
От: Justin Pitts
Дата:
Сообщение: Re: issue related to logging facility of postgres