Re: Pls. help me to clarify my doubts.

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Pls. help me to clarify my doubts.
Дата
Msg-id 002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org
обсуждение исходный текст
Ответ на Pls. help me to clarify my doubts.  ("Arumugam" <arumugam_ask@sifycorp.com>)
Ответы Re: Pls. help me to clarify my doubts.  (Dani Oderbolz <oderbolz@ecologic.de>)
Список pgsql-admin
<mallah@trade-india.com> wrote:
> > hi,
> >
> > Sir, i follow your procedure of Postgres installation (version 7.1.3)
> > on linux 2.4.7-10.
> >
> > I want to know how to enable syslog and mention the log information
> > will store in /var/postgreslog directory path..
>
> not sure abt 7.1.3 , but  in 7.3.3 u can do the following.
>
> In postgresql.conf file
>
> #
> #       Syslog
> #
> syslog = 2                     # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
>
>
> in /etc/syslog.conf file
> local0.*   /var/postgreslog

I remember you also that you can turn off the syslog to fsync each
log to the file putting a "-" before the filename:

local0.*   -/var/postgreslog

this should increase the log performances



Regards
Gaetano Mendola




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

Предыдущее
От: "Soeren Laursen"
Дата:
Сообщение: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error
Следующее
От: Markus Bertheau
Дата:
Сообщение: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore